|
-
Jul 23rd, 2010, 03:58 PM
#13
Re: blank page. Sql doesn't work?
no, you shouldn't be storing plain-text passwords.
you need to create a function that generates a new, random password, and then your password recovery form updates the database with this new password, and also emails a copy of the new password to the account holder.
order of doing things:
- generate new, random password: newPassword
- store md5(newPassword) in database
- email newPassword to user's email
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|