-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
additional characters to be accepted for password #3935
Conversation
@seagivens lint is failing - can you please fix? Otherwise looks good! |
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.
In addition to the lint, I spotted a small bug.
Co-authored-by: Brock Wilcox <awwaiid@thelackthereof.org>
@@ -87,7 +87,7 @@ def formatted_email | |||
end | |||
|
|||
def password_complexity | |||
return if password.blank? || password =~ /(?=.*?[#?!@$%^&*-])/ | |||
return if password.blank? || password =~ /(?=.*?[#?!@$%^&*\-;,.()=+|:])/ |
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.
nit: Can create a password with only (and also one) special character/s.
Very very delayed but I think this is good to merge! This slipped between the cracks. |
@seagivens: Your PR |
Checklist:
Resolves #3789
Description
expanded the list of special characters that are accepted to satisfy the password strength requirements, as described in Bug #3789
Type of change
How Has This Been Tested?
added new unit tests