More in this section

Forums / General Discussions / ResetPassword Method

ResetPassword Method

2 posts, 0 answered
  1. Alex
    Alex avatar
    39 posts
    Registered:
    19 Jul 2010
    09 Feb 2011
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    09 Feb 2011
    Link to this post
    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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered