app/forms/Login.php: validator message should say 8 (not 6) if minimum string length is 8 :)
This commit is contained in:
parent
3e0e526f4e
commit
21550b4ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Login extends Form
|
||||||
|
|
||||||
$validator = new StringLength(array(
|
$validator = new StringLength(array(
|
||||||
'min' => 8,
|
'min' => 8,
|
||||||
'messageMinimum' => 'Password must be atleast 6 characters long',
|
'messageMinimum' => 'Password must be atleast 8 characters long',
|
||||||
));
|
));
|
||||||
$passwd->addValidator($validator);
|
$passwd->addValidator($validator);
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue