-
Notifications
You must be signed in to change notification settings - Fork 27
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
improve New User password validation #8176
base: master
Are you sure you want to change the base?
improve New User password validation #8176
Conversation
8f98dd9
to
c16cdc5
Compare
b5e4101
to
5290c6c
Compare
5290c6c
to
5c79845
Compare
{{on "keyup" this.keyboard}} | ||
data-test-password-input | ||
/> | ||
{{#if (this.hasErrorForPassword)}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{#if (this.hasErrorForPassword)}} | |
{{#if this.hasErrorForPassword}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stopfstedt OK, so the error message appears in the Integration test for PasswordValidator
, but when it's used on the NewUser
component, it does not. Seems it's being swallowed when trying to move upwards, but not sure how to fix.
Fixes ilios/ilios#4303
Adds a 5-character length validation to new passwords. Potential addition to this PR would be to carry over the password strength logic from
<UserProfileBio>
. However, to reduce duplication, maybe it should be refactored to a service?