Identity ApplicationCookie Automatic by default

React to cookie's not being automatic by default
This commit is contained in:
Hao Kung 2015-03-16 15:15:44 -07:00
parent c260beab52
commit b0c6090774
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace Microsoft.Framework.DependencyInjection
services.ConfigureIdentityApplicationCookie(options =>
{
options.AuthenticationScheme = IdentityOptions.ApplicationCookieAuthenticationScheme;
options.AutomaticAuthentication = true;
options.LoginPath = new PathString("/Account/Login");
options.Notifications = new CookieAuthenticationNotifications
{