Resetting the admin password
If you no longer remember the admin password the only way to reset it is by changing it in the database.
You can set a new password for the admin user using this MySQL query:
UPDATE ust_users SET password=SHA2(CONCAT(salt, 'NEW_PASSWORD'), 256) WHERE id=1;
1. Access the
ust_userstable in your database.
2. Copy the contents of the
saltcolumn from the admin user.
3. Decide on your new password, and prefix it with the salt: saltMyNewPassword123
4. Encrypt the salt+password as SHA256.
5. Save that encrypted value in the password field.
So let's say the salt in the DB is f57efb9fa449 and you want your new password to be XXXyyyZZZ
You concatenate them: f57efb9fa449XXXyyyZZZ
Get the sha256 encrypted value using the site linked above:
Save the above hash in the
passwordcolumn of the admin user in the database:
Could not load image