Skip to content

Commit

Permalink
Update dojo/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Neill <[email protected]>
  • Loading branch information
kiblik and cneill authored Feb 8, 2024
1 parent 9a1646b commit 5d6440c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2429,7 +2429,7 @@ def get_password_requirements_string():
if bool(get_system_setting('number_character_required')):
s += ', one number (0-9)'
if bool(get_system_setting('special_character_required')):
s += ', one special chacter (()[]{}|\\`~!@#$%^&*_-+=;:\'\",<>./?)'
s += ', one special character (()[]{}|\\`~!@#$%^&*_-+=;:\'\",<>./?)'

if s.count(', ') == 1:
password_requirements_string = s.rsplit(', ', 1)[0] + ' and ' + s.rsplit(', ', 1)[1]
Expand Down

0 comments on commit 5d6440c

Please sign in to comment.