MembershipUser.ChangePassword() method

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
chris@byteme
Posts: 14
Joined: Thu 06 Oct 2005 06:23

MembershipUser.ChangePassword() method

Post by 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.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 29 Aug 2006 08:39

Please check passwords in txtOld.Text, txtPwd.Text and that the user exists.

Post Reply