MembershipUser.ChangePassword() method

MembershipUser.ChangePassword() method

Postby chris@byteme » Thu 24 Aug 2006 19:16

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.
chris@byteme
 
Posts: 14
Joined: Thu 06 Oct 2005 06:23

Postby Alexey » Tue 29 Aug 2006 08:39

Please check passwords in txtOld.Text, txtPwd.Text and that the user exists.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL