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