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

[Login] Handle correctly M_LIMIT_EXCEEDED error code #322

Closed
giomfo opened this issue Dec 17, 2021 · 1 comment · Fixed by #388
Closed

[Login] Handle correctly M_LIMIT_EXCEEDED error code #322

giomfo opened this issue Dec 17, 2021 · 1 comment · Fixed by #388
Assignees
Labels
android bug Something isn't working

Comments

@giomfo
Copy link
Contributor

giomfo commented Dec 17, 2021

This error should be received when the user fails to login more than three times.

Currently the login screen is frozen with a loading wheel when the user fails 3 times to provide the correct password (NOK)

The login should not be blocked, and the application must display a specific message:
"Vos trois dernières tentatives de connexion ont échoué. Veuillez réessayer dans 30 minutes"

I just observed this error message already exist in the code v2 (see login_error_limit_exceeded string). The bug may be on the handling of this error... This error is not expected from matrix.org, so I don't think you can reproduce the issue with Element-Android, except if you test to login with a Tchap account

@giomfo
Copy link
Contributor Author

giomfo commented Jan 24, 2022

@Florian14 can you please port the fix you did on Elment-Android?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants