Resolution:
Since you are using Hashing, you can't retrieve password back from database, so you must reset it before assigning new password like as shown here:
MembershipUser mu = Membership.GetUser();
mu.ChangePassword(u.ResetPassword(), "abc123!");
This will successfully change hashed password with the one you provide in the method call as shown above!
No comments:
Post a Comment