Guest User

Untitled

a guest
Apr 23rd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. options.AddPolicy("IsSuperUser", policy =>
  2. policy.RequireClaim("IsSuperUser", "Yes", "yes"));
  3.  
  4. Add-Migration ApplicationDbContext
  5. Update-Database
  6.  
  7. Invalid column name 'IsSuperUser'.
  8.  
  9. var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
Add Comment
Please, Sign In to add comment