In reset, we need to know the UserId and pass it to the UserManager.ResetPasswordAsync method. In Identity 1.0, you could get a UserId from the UserManager.PasswordResetTokens.Validate ((UserManager.PasswordResetTokens.Validate (token)). UserId method. Now everything is gone, and all existing examples tell me that I need to ask the user to enter a username or email address. This is not convenient, I do not want my users to enter the username again if the token is valid.
This is an established tradition in ASP.NET Identity - something that worked before is broken in the new version. Of course, I can create my own combined token with the built-in UserId, but why do I need to do extra work? New releases should improve the situation, not make them worse.
source
share