AW: Decrypt MYSQL Password

2002-11-13 Thread hans huber
Ben, create a column in the user table, that holds a flag called "mustChangePassword" (or whatever you want to name it). Then write your PHP code that way, that a login of a user who must change his password will be redirected to the "change password page" and store the new password and reset t

AW: Decrypt MYSQL Password

2002-11-13 Thread Moestl, Wolfgang
Hi Ben, As far as I know the algorithm used for the decrypting is a one-way hash function, thus there is no way of decrypting it. You may consider to reset the password and mail the user the new one instead of mailing the old password. The second solution is to store the password a second tim