Custom PasswordRecovery

Last post 01-24-2006 4:40 AM by orzeh. 1 replies.

Sort Posts:

  • Custom PasswordRecovery

    01-19-2006, 2:58 PM
    • Member
      178 point Member
    • radmanmm
    • Member since 09-25-2002, 9:33 AM
    • Posts 62

    Hi All,

    I am implementing a portal that uses email as the login.  I have the uniqueEmailRequired set to true and during the CreateUserWizard I generate a unique username and hide if from the user.  This all seems to work great except for the Password Recovery.

    If I use the PasswordRecovery control, it wants to use the UserName (which I want hidden).  What I need is to ask the user for the email and then during the VerifyingUser I lookup up the username based on email.  This works fine, however the question screen shows the username.  I have no idea of how to change that to email.  I tried to write code into the PreRender, VerifyingAnswer. Neither worked.

    I then tried to extend the PasswordRecovery control and override the OnVerifyingAnswer method, but this method never even fires.

    Any help would be extremely appreciated.

    Bill

  • Re: Custom PasswordRecovery

    01-24-2006, 4:40 AM
    • Contributor
      4,983 point Contributor
    • orzeh
    • Member since 07-28-2005, 7:18 AM
    • Poland
    • Posts 897
    hi!

    I think You should write custom membership provider only with several functions that PasswordRecovery control uses. then you`ll have full control what is displayed.

    orzeh

    code less, think more!
Page 1 of 1 (2 items)