mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX password validation min length message (#8976)
FIX password validation min length message
This commit is contained in:
commit
3a5c14f7c2
@ -236,7 +236,7 @@ class PasswordValidator
|
||||
$error = _t(
|
||||
__CLASS__ . '.TOOSHORT',
|
||||
'Password is too short, it must be {minimum} or more characters long',
|
||||
['minimum' => $this->minLength]
|
||||
['minimum' => $minLength]
|
||||
);
|
||||
|
||||
$valid->addError($error, 'bad', 'TOO_SHORT');
|
||||
|
Loading…
Reference in New Issue
Block a user