mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
Update netbox/utilities/password_validation.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
d0b2f0c5a1
commit
37b724c6bc
@ -20,7 +20,7 @@ class NumericAlphaPasswordValidator:
|
|||||||
|
|
||||||
if not any(char.islower() for char in password):
|
if not any(char.islower() for char in password):
|
||||||
raise ValidationError(
|
raise ValidationError(
|
||||||
_("Password should have at least one lowercase letter"),
|
_("Password must have at least one lowercase letter."),
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_help_text(self):
|
def get_help_text(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user