-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset admin password? #207
Comments
ever gound a solution? Thanks... |
Honestly, I can't remember. It was so long ago. Sorry I can't be of more help :( |
connect directly to the redis instance that you've configured for oauthd in config.local.js and run command const crypto = require('crypto');
const staticsalt = '<same-as-your-config.local.js-staticsalt>';
const generateHash = (data) => {
const shasum = crypto.createHash('sha1');
shasum.update(staticsalt + data);
return shasum.digest('base64');
}
const admsalt = '<read-this-value-from-redis-if-it-exists>';
const h = generateHash('<your-password-here>' + admsalt);
console.log(h); this function is copied/derived from |
Hi,
Howe do you reset the admin password? I found a post from back in 2013, but it talks about a non existent script :/
Cheers
Andy
The text was updated successfully, but these errors were encountered: