Hi all,
I have developed a custom MembershipProvider. Except for validating the password strength, it works.
I call the OnValidatingPassword virtual method as shown in the ODBC sample:
ValidatePasswordEventArgs args =
new ValidatePasswordEventArgs(username, newPassword,true);
OnValidatingPassword(args);
The values for the relevant are:
Minimum password length: 7
Minimum non-alphanumeric characters: 1
Regular expression: (null)
However, entering "myname" on the ChangePassword control does not cause args.Cancel to be set to true, even though the rules are violated.
So, I am wondering if the ODBC sample is incomplete and if I need to implement OnValidatingPassword myself? (The ODBC sample does not override the method)
Thanks for any help,
SA.