Omeka-S manual password reset

I need to manually reset a user password inside the SQL database for Omeka-S v3.0.1. Email (forgot password) is not working off of the dev server. I think I figured out the salt portion, but can’t figure out the hash for the rest of the password.

If you have other users on that install that you can log in as, changing their role so they have permission to change other users’ passwords is an option. Another simple choice is just copying the password_hash of another known password from the install or another install (temporarily, of course).

Otherwise, the stored hash is just the output from PHP’s built-in password_hash function. Some clients like phpMyAdmin may have built in support for running this function to produce a value to store in the database, or you can just run it yourself to get the value you need.

1 Like

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.