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:
Bjarke Berg
2020-06-03 17:17:30 +02:00
committed by GitHub
parent a7a463c7d4
commit b2b0291386
22 changed files with 309 additions and 317 deletions

View File

@@ -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)