fix translation bug (#68938)
This commit is contained in:
parent
09f6796c25
commit
2be6ad6859
|
@ -139,7 +139,7 @@ def get_password_strength(password):
|
|||
hint = _('add more words or characters.')
|
||||
strength = 0
|
||||
if min_length and len(password) < min_length:
|
||||
hint = _('use at least %s characters.' % min_length)
|
||||
hint = _('use at least %s characters.') % min_length
|
||||
elif password:
|
||||
report = zxcvbn(password)
|
||||
strength = report['score']
|
||||
|
|
Loading…
Reference in New Issue