05.08.2014, 13:29
my player password in mysql was encryption, now i translate is to text, how can i do that?
Help me, please!
Help me, please!
Don't store passwords in plaintext.
If you wish to move from one hashing method to another, what you have to do is ask your players to provide their old password, then run WP_Hash() on it, compare the result to the password in the database and then run your new hash function on it, store the result in a new field (or have a toggle for each player indicating whether they have a new password or not) and in the future, query for that. |