Re: MySQLPHP decrypt(password)
| From: | Martin Norland | Date: | Fri, 25 Feb 2005 19:03:14 +0000 |
| Subject: | Re: MySQLPHP decrypt(password) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38673@lists.php.net to get a copy of this message | ||
moses Woldeselassie wrote:
hi all I am using password() to crypt a user password online. but how do i decrypt a user password, when user forgot his/her password? kind regards mYou don't - that's the point. You have to provide them with a way to reset their password, based on some other method of authentication. Traditionally this is done with mailing a user a password reset link, and having that link only available for a short period of time. Cheers, -- - Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.