React to AuthN changes

This commit is contained in:
Hao Kung 2015-10-14 23:17:13 -07:00
parent a754b9cb61
commit 027bc5c6b8
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ namespace Microsoft.AspNet.Identity
ApplicationCookie = new CookieAuthenticationOptions
{
AuthenticationScheme = ApplicationCookieAuthenticationScheme,
AutomaticAuthentication = true,
AutomaticAuthenticate = true,
AutomaticChallenge = true,
LoginPath = new PathString("/Account/Login"),
Events = new CookieAuthenticationEvents
{