Skip to content
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

Set new Password via "hashedPassword"-entry in mongodb #814

Closed
nnoack opened this issue Nov 11, 2020 · 1 comment
Closed

Set new Password via "hashedPassword"-entry in mongodb #814

nnoack opened this issue Nov 11, 2020 · 1 comment

Comments

@nnoack
Copy link

nnoack commented Nov 11, 2020

Hello everyone,
is there a proper way to change a users password when there is no smtp service running?

I try to edit the db via

db.users.update({email:"user@email.de"}, {$set:{hashedPassword:"$2y$12$YQ3GBQDlivEoiQ4MXZW6Ze0ijHqrZQnBA3XYFQj1g3fdtppLiuy.q"}})

with a generated bcrypt hash.

But when i try to log in with this credentials I get a "wrong password or email" Message.

I have to get my Projects.

with best regards
Niklas

@nnoack
Copy link
Author

nnoack commented Nov 12, 2020

Ok, it finally worked with the correct hash..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant