From de107ffe61d15c7074fc56fa1da6428e3c0e7de1 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Fri, 13 Nov 2015 11:27:39 -0800 Subject: [PATCH] Cookies now defaults to AutomaticAuthenticate true again --- .../CookieAuthenticationOptions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.AspNet.Authentication.Cookies/CookieAuthenticationOptions.cs b/src/Microsoft.AspNet.Authentication.Cookies/CookieAuthenticationOptions.cs index 1d0484ab64..88d41c6635 100644 --- a/src/Microsoft.AspNet.Authentication.Cookies/CookieAuthenticationOptions.cs +++ b/src/Microsoft.AspNet.Authentication.Cookies/CookieAuthenticationOptions.cs @@ -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;