React to security API changes.

This commit is contained in:
Chris R 2015-09-03 14:44:21 -07:00
parent c584e0f182
commit a506979db5
1 changed files with 1 additions and 1 deletions

View File

@ -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
}