Archived
1
0
Fork 0

app/forms/Login.php: validator message should say 8 (not 6) if minimum string length is 8 :)

This commit is contained in:
Henrik Hautakoski 2018-03-20 23:15:01 +01:00
parent 3e0e526f4e
commit 21550b4ad0

View file

@ -45,7 +45,7 @@ class Login extends Form
$validator = new StringLength(array(
'min' => 8,
'messageMinimum' => 'Password must be atleast 6 characters long',
'messageMinimum' => 'Password must be atleast 8 characters long',
));
$passwd->addValidator($validator);