Current ASP.NET Identity password reset (through email verification) requires a user to enter e-mail and a new password to be reset. However, in most cases of a password reset, only a new password is required. How could this be done?
I found that the user id is found by getting the email, e.g.:
var user = await UserManager.FindByNameAsync(model.Email);
Is it possible to get the user id directly from the CallbackUrl of the password reset as it contains the user id? or is there any better alternative approach?
Copyright Notice:Content Author:「eulercode」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/27367023/password-reset-without-entering-email-asp-net-identity