In my database I have over 600 users. The passwords were previously stored as plain text (slap on hand, I know). Anyways, I have changed my code to store STA1 hashed passwords, but I need to convert the existing passwords in my database so each user doesn’t need to go in and modify their account.
Any help?
First, backup your database with mysqldump. For example
Also, make sure that your password field is 40 characters long. If not, execute this SQL command:
and then this to change the passwords: