I'm at my wits end here, I cannot figure out why this function fails to authenticate every time.
I have the following class:
public class UserService : UserManager<AzularisUser>, IUserService
{
//Some custom methods here
}
Then I try to invoke the following method which is native to UserManager
var result = await _userService.ResetPasswordAsync(user.Id, requestModel.Code, requestModel.Password);
The problem is that this ALWAYS returns false. Now the code that is passed in is correct. I had it sent to my email and I generated it in this way:
await _userService.GeneratePasswordResetTokenAsync(user.Id);
So my biggest problem is that because that I can't debug UserManager to find out where it fails, all I get is a big false. Any suggestions on how I can figure this out?