Setting UMB_CONTEXT with Domain "FALSE"
Running Umbraco on localhost, Chrome does not handle received 'Set Cookie's with no domain. "FALSE" works as noted here: http://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Umbraco.Web.Security.Identity
|
||||
var cookieOptions = new CookieOptions
|
||||
{
|
||||
Path = "/",
|
||||
Domain = _authOptions.CookieDomain,
|
||||
Domain = _authOptions.CookieDomain ?? "FALSE",
|
||||
Expires = DateTime.Now.AddMinutes(_authOptions.LoginTimeoutMinutes),
|
||||
HttpOnly = true,
|
||||
Secure = _authOptions.CookieSecure == CookieSecureOption.Always
|
||||
|
||||
Reference in New Issue
Block a user