ASP.NET Identity Provider SignInManager Keeps Returning Failure

后端 未结 10 1670
天涯浪人
天涯浪人 2021-01-31 15:52

I have an issue with the standard ASP Identity provider for MVC5. As soon as I log in the method:

await SignInManager.PasswordSignInAsync(model.Email, model.Pass         


        
10条回答
  •  北海茫月
    2021-01-31 16:27

    SignInManager.PasswordSignIn works off of user name, you should double check that the user name is the same as the email you are passing in.

提交回复
热议问题