mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Consistency with comment in settings.py
This commit is contained in:
parent
8a0c4509fd
commit
c313084dc3
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class PasswordValidator(object):
|
|||
Produces a summary-tuple comprised of a level (success, error, warning)
|
||||
and a message key describing the issues found.
|
||||
"""
|
||||
if self.validation_strength <= 0:
|
||||
if self.validation_strength < 0:
|
||||
return ("success", "")
|
||||
|
||||
listed = password in SMALL_PWD_LIST or self.is_in_cracklib_list(password)
|
||||
|
|
Loading…
Add table
Reference in a new issue