Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options.AddPolicy("IsSuperUser", policy =>
- policy.RequireClaim("IsSuperUser", "Yes", "yes"));
- Add-Migration ApplicationDbContext
- Update-Database
- Invalid column name 'IsSuperUser'.
- var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
Add Comment
Please, Sign In to add comment