V17 - Removing obsoleted code from Umbraco.Web (#19983)
* Removing obsoleted code from AspNetCoreCookieManager.cs & Dependencies * Removing obosoleted code from AspNetCoreBackOfficeInfo.cs * Removing obosoleted code from PublishedContentExtensions.cs * Removing obosoleted code from UmbracoMvcConfigureOptions.cs * Removing obosoleted code from UmbracoVirtualPageRoute.cs * Removing obsoleted constructor from BasicAuthenticationMiddleware.cs * Removing obsoleted constructors from UmbLoginController.cs * Removing unused constructor
This commit is contained in:
@@ -41,11 +41,6 @@ public class AspNetCoreCookieManager : ICookieManager
|
||||
/// <inheritdoc/>
|
||||
public string? GetCookieValue(string cookieName) => _httpContextAccessor.HttpContext?.Request.Cookies[cookieName];
|
||||
|
||||
/// <inheritdoc/>
|
||||
[Obsolete("Use overload with the secure and sameSiteMode parameters instead. Scheduled for removal in V17.")]
|
||||
public void SetCookieValue(string cookieName, string value, bool httpOnly) =>
|
||||
SetCookieValue(cookieName, value, httpOnly, false, SameSiteMode.Unspecified.ToString());
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void SetCookieValue(string cookieName, string value, bool httpOnly, bool secure, string sameSiteMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user