Comment on page
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.
For security purposes the password is stored in the database SHA256 encrypted and uses an unique salt per user.
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;
Make sure to replace
NEW_PASSWORDwith your actual password. If you want to reset the password using this command for a different user, you can change the "WHERE" statement to
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: