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

When user resets password, the password validation rules are skipped #338

Open
stefanp0pa opened this issue Apr 30, 2022 · 4 comments
Open
Labels
feature Add new functionality good first issue Good for newcomers

Comments

@stefanp0pa
Copy link
Contributor

E.g. When you try to reset password, you can input '123456' . When signing up for the first time, the validation rules work as expected.

@stefanp0pa stefanp0pa added the bug Something isn't working label Apr 30, 2022
@stefanp0pa
Copy link
Contributor Author

image

This is what happens when you input 1234

Nevertheless, when entering 123456, the system accepts this as a new password (therefore, the mix of letters and digits check fails)

@stefanp0pa
Copy link
Contributor Author

According to this answer, there is no way to customize the password requirements for Firebase Authenticator. However, implementing your own provider on top of Firebase Authentication would fix this issue.

@AdrianMargineanu
Copy link
Contributor

If there is no way to customise the password from Firebase, we can check the password on the phone, and if the user's password does not match our validation, the app may open a pop up to display the info that the password is not safe so he should change it. And if he agrees to change, the app should open a change password screen.

@AdrianMargineanu AdrianMargineanu added good first issue Good for newcomers feature Add new functionality and removed bug Something isn't working labels May 14, 2022
@Aleandro2000
Copy link

I take this issue! I'm glat to get that! :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add new functionality good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants