From a506979db55f8d1064bd421c32e15e2b8a928e8b Mon Sep 17 00:00:00 2001 From: Chris R Date: Thu, 3 Sep 2015 14:44:21 -0700 Subject: [PATCH] React to security API changes. --- src/Microsoft.AspNet.Identity/IdentityCookieOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }