Page 1 of 1

MembershipUser.ChangePassword() method

Posted: Thu 24 Aug 2006 19:16
by chris@byteme
Hi guys

Not sure about this one. I've built a custom change password form with three text boxes - for old password, new password and confirmation. When I call "ChangePassword" on the currently signed in user;

If theUser.ChangePassword(txtOld.Text, txtPwd.Text) Then
'password is changed
Else
'password not changed
End If

The method seems to return "True" even when it fails. Any help with this would be appreciated.

Posted: Tue 29 Aug 2006 08:39
by Alexey
Please check passwords in txtOld.Text, txtPwd.Text and that the user exists.