Link to home
Create AccountLog in
Avatar of Charles Baldo
Charles BaldoFlag for United States of America

asked on

Microsoft.AspNet.Identity changhe password whe you do not have current password

I am using the Microsoft.AspNet.Identity library.  I want to change a password when I do not know the current password (user forgot)


                UserManager manager = new UserManager();
                IdentityResult result = manager.ChangePassword(User.Identity.GetUserId(), CurrentPassword.Text, NewPassword.Text);


is the anything like


                UserManager manager = new UserManager();
                IdentityResult result = manager.ChangePassword(User.Identity.GetUserId(),  NewPassword.Text);
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Charles Baldo

ASKER

Thanks just what I was hoping for