Update netbox/utilities/password_validation.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
Arthur Hanson 2024-08-30 10:36:42 -07:00 committed by GitHub
parent 329f7c3295
commit b57de257b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ class NumericAlphaPasswordValidator:
if not any(char.isupper() for char in password): if not any(char.isupper() for char in password):
raise ValidationError( raise ValidationError(
_("Password should have at least one uppercase letter"), _("Password must have at least one uppercase letter."),
) )
if not any(char.islower() for char in password): if not any(char.islower() for char in password):