Guest User

Guest User

  • Tech Writer
  • 98
  • 42.3k

PasswordSignInAsync succeeded always false

Jan 22 2020 5:37 PM
I extended the IdentityUser by adding a field and make it as ApplicationUser and use the UserName instead of Email in login using the code below
  1. var result = await _signInManager.PasswordSignInAsync(Input.UserName, Input.Password, Input.RememberMe, lockoutOnFailure: true); 
But the problem is result.Succeeded is always equals to False even if I enter the correct UserName and Password..

Answers (4)