diff --git a/src/Microsoft.AspNet.Identity/IdentityCookieOptions.cs b/src/Microsoft.AspNet.Identity/IdentityCookieOptions.cs index f435203ecb..fb16be42fc 100644 --- a/src/Microsoft.AspNet.Identity/IdentityCookieOptions.cs +++ b/src/Microsoft.AspNet.Identity/IdentityCookieOptions.cs @@ -20,7 +20,7 @@ namespace Microsoft.AspNet.Identity AuthenticationScheme = ApplicationCookieAuthenticationScheme, AutomaticAuthentication = true, LoginPath = new PathString("/Account/Login"), - Notifications = new CookieAuthenticationNotifications + Events = new CookieAuthenticationEvents { OnValidatePrincipal = SecurityStampValidator.ValidatePrincipalAsync }