request password be sent through e-mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xMetalDetectorx
    New Member
    • Oct 2008
    • 44

    request password be sent through e-mail

    Is it possible for a user to recover their password by entering their e-mail address alone?

    Right now I am using the PasswordRecover y control, and i have security questions disabled. So all the user has to do is put their User Name, and hit submit, then their password is e-mailed to them.

    But, a lot of my users forget their User Name, so right below I have a User Name recover section. The user inputs their e-mail address, and their corresponding user name shows up.

    I would like to simplify this and just require the user's e-mail address to provide them their user name AND password.
  • sanjib65
    New Member
    • Nov 2009
    • 102

    #2
    In my site I used user's E-Mail address as their username. With the validation control I checked it, both the purposes being solved by this method.

    Comment

    • xMetalDetectorx
      New Member
      • Oct 2008
      • 44

      #3
      Thanks for your suggestion Sanjib65, but this site already has a large number of users who have registered with user names.

      I guess to implement your suggestion, I'd have to replace their UserNames with their email address in the db, then instruct the users to log in with their email addresses from now on.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        xMetalDetectorx ,

        This is very much possible.

        I wouldn't recommend that you store passwords for your website so, if a user has forgotten their user name or password have them enter their email address.

        If the email address is found in the website create a new, random, password for the user and send that to their email.

        When the user logs in next, check to see if your system "reset" their password and if so ask them to enter a new password.

        -Frinny

        Comment

        Working...