Cookies now defaults to AutomaticAuthenticate true again
This commit is contained in:
parent
b05f8771ae
commit
de107ffe61
|
|
@ -23,6 +23,7 @@ namespace Microsoft.AspNet.Authentication.Cookies
|
|||
public CookieAuthenticationOptions()
|
||||
{
|
||||
AuthenticationScheme = CookieAuthenticationDefaults.AuthenticationScheme;
|
||||
AutomaticAuthenticate = true;
|
||||
ReturnUrlParameter = CookieAuthenticationDefaults.ReturnUrlParameter;
|
||||
ExpireTimeSpan = TimeSpan.FromDays(14);
|
||||
SlidingExpiration = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue