Identity ApplicationCookie Automatic by default
React to cookie's not being automatic by default
This commit is contained in:
parent
c260beab52
commit
b0c6090774
|
|
@ -80,6 +80,7 @@ namespace Microsoft.Framework.DependencyInjection
|
||||||
services.ConfigureIdentityApplicationCookie(options =>
|
services.ConfigureIdentityApplicationCookie(options =>
|
||||||
{
|
{
|
||||||
options.AuthenticationScheme = IdentityOptions.ApplicationCookieAuthenticationScheme;
|
options.AuthenticationScheme = IdentityOptions.ApplicationCookieAuthenticationScheme;
|
||||||
|
options.AutomaticAuthentication = true;
|
||||||
options.LoginPath = new PathString("/Account/Login");
|
options.LoginPath = new PathString("/Account/Login");
|
||||||
options.Notifications = new CookieAuthenticationNotifications
|
options.Notifications = new CookieAuthenticationNotifications
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue