Netcore: Migration of more controllers (#8220)
* https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated DictionaryController, TinyMceController and UpdateCheckController * Removing connection string and changing to use the right variable Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
This commit is contained in:
@@ -33,7 +33,10 @@ namespace Umbraco.Web.Common.AspNetCore
|
||||
|
||||
public void SetCookieValue(string cookieName, string value)
|
||||
{
|
||||
_httpContextAccessor.HttpContext?.Response.Cookies.Append(cookieName, value);
|
||||
_httpContextAccessor.HttpContext?.Response.Cookies.Append(cookieName, value, new CookieOptions()
|
||||
{
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
public bool HasCookie(string cookieName)
|
||||
|
||||
Reference in New Issue
Block a user