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

Prevent password length error silent truncation #2364

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

SleeplessOne1917
Copy link
Member

@SleeplessOne1917 SleeplessOne1917 commented Feb 16, 2024

Fixes #2172
Fixes #1120

password-invalid

Copy link
Member Author

@SleeplessOne1917 SleeplessOne1917 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid password verbiage is a bit redundant and could use a revision.

maxLength={60}
minLength={10}
pattern=".{10,60}"
title={I18NextService.i18n.t("invalid_password")}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See here for why I'm using the title prop for this.

@dessalines dessalines merged commit cc0177a into main Feb 16, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the password-length-error branch February 16, 2024 15:12
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

Successfully merging this pull request may close these issues.

Password length limit notification Throw error if password is too long
2 participants