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
- 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..
Rijwan AnsariPosted Apr 14, 2021, 4:33 PM
Priyadharshini RaviPosted Apr 14, 2021, 4:11 PM
Guest UserPosted Jan 22, 2020, 6:08 PM
Amit MohantyPosted Jan 22, 2020, 5:54 PM