-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Password reset / recovery is broken #1502
Comments
I tested on my own installation and it is broken indeed. Same behavior as above, just redirects to the login screen |
Yep I've just followed the docker installation instructions and I'm now locked out :( Forgot password just sends you back to the login screen and Rocket.Chat tells me my admin email or password is wrong (I saved it using a password manager so it can't be wrong) |
I had the same problem with Wekan, and in my case that was because the routes configuration was done on the client only — and not the server. Not sure if that helps. |
+1 Broken here as well. See here for accessing the mongo database directly when deployed via docker: @bernardoflynn Did you by chance enable email confirmations before being locked out? Then see the referenced comment to restore access. |
You can manually generate a password hash like this (replace 'password') and then update the mongo database directly:
|
I believe this is also related to email confirmations not working as well, as they use the same url type "#" to state what is happening. |
@graywolf336 |
@adrianb88 Not yet, if someone else doesn't do it before me this weekend I will take a look |
Just tested again with the latest docker image from 29 hours ago (previous was from 11 days ago), problem still there. @graywolf336 Thanks, that would be great! |
Some of my team lost his password, I update directly the database as suggested by @tholu . I want to share the steps I used (I installed via composer): 1.- docker exec -it rocketchat_db_1 bash (log in to the container, use the appropiate container name) I hope it could be useful |
fix reset password - closes #1502
# By Diego Sampaio (8) and Rodrigo Nascimento (2) # Via Gabriel Engel (3) and Rodrigo Nascimento (2) * 'develop' of github.com:RocketChat/Rocket.Chat: Increase the delay to render color fields fix guest users default role standardize colors definition improved clean button color support named color for message attachments added request debug messages trim integration messages Try to parse all request bodies as JSON new password reset screen fix reset password - closes #1502
I only tested this on the server hosted by the developers of Rocket.Chat and didn't test it on my own installation.
When requesting a password reset it does send you the e-mail and it is received with no problem. However, once you hit the link in the e-mail (the one looking like this:
https://demo.rocket.chat/login/#/reset-password/{long_string}
) it won't load the input box which usually asks you for the new password, instead you're taken to the login screen without any apparent error.This is the output from my developer console:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: