Answers for "usermanager change password without current password"

C#
2

usermanager change password without current password

var user = await UserManager.FindByIdAsync(id);

var token = await UserManager.GeneratePasswordResetTokenAsync(user);

var result = await UserManager.ResetPasswordAsync(user, token, "MyN3wP@ssw0rd");
Posted by: Guest on May-28-2020

Code answers related to "usermanager change password without current password"

C# Answers by Framework

Browse Popular Code Answers by Language