You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the user does not perform a regular password reset but login for the first time, a token is not provided, therefore an error is thrown. From my point of view checking the existence of a user (using a password reset token) is superfluous and could be completely removed (correct me if I'm wrong).
Also, I think a proper error message would be helpful as well.
Relevant logs:
not relevant
The text was updated successfully, but these errors were encountered:
Description:
Steps to reproduce:
Accounts_TwoFactorAuthentication_By_Email_Enabled
Expected behavior:
Password policy should be shown
Actual behavior:
An error
[undefined]
will be shown:Relevant Request:
Relevant Response:
Server Setup Information:
Client Setup Information
Additional context
Relevant code:
https://github.com/RocketChat/Rocket.Chat/blob/master/server/methods/getPasswordPolicy.js#L8-L17
As the user does not perform a regular password reset but login for the first time, a
token
is not provided, therefore an error is thrown. From my point of view checking the existence of a user (using a password reset token) is superfluous and could be completely removed (correct me if I'm wrong).Also, I think a proper error message would be helpful as well.
Relevant logs:
not relevant
The text was updated successfully, but these errors were encountered: