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

Modify feedback behavior when credentials are incorrect #560

Open
thiagomdiniz opened this issue Nov 5, 2024 · 0 comments
Open

Modify feedback behavior when credentials are incorrect #560

thiagomdiniz opened this issue Nov 5, 2024 · 0 comments

Comments

@thiagomdiniz
Copy link

Current behavior
With 2FA set to be enforced, when trying to log in with a user that does not exist, the feedback is immediate, warning the user that the credentials are invalid.

But when you try to log in with a user that exists but the password is incorrect, the system requests the 2FA code (or sends the 2FA code by email, depending on the configuration), and only after entering the 2FA code does the user receive feedback that the credential is invalid.
But the message is not clear, which makes the user think that they entered the wrong 2FA code, when in fact they entered the wrong password.

Desired behavior
We believe that the ideal is to provide feedback immediately when trying to log in with the wrong password, avoiding requesting the 2FA code and leaving the user thinking that they are having problems with 2FA.

Describe alternatives you've considered
If it is not possible to change this behavior, adding a clear message specifying whether the login issue was a wrong credential or a wrong 2FA code may help.

Thanks!

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