ResetPassword Method
Is there a way to override the ResetPassword method so that it returns only alphanumeric characters. We are seeing issues with the punctuation that comes through in some passwords and would like it to default to only alphanumeric characters. I looked into potentially just creating a custom control that uses ChangePassword and decrypting the current password, but I think it is being encrypted with a one-way hash.
Any ideas on how to solve this?
Thanks,
Alex Lorenz
Hi Alex,
We use Membership.GeneratePassword Method to generate a new password inside MembershipDataProvider ResetPassword method which is virtual, so you can easily override it.
Membership properties can be set from itefinity/Administration/Settings/Advanced - Security. There is a section for the membership providers that the application uses.
Regards,
Ivan Dimitrov
the Telerik team