app/forms/Login.php: remove email validation
This commit is contained in:
parent
279e6a30c1
commit
ba39333e1a
1 changed files with 0 additions and 5 deletions
|
|
@ -30,11 +30,6 @@ class Login extends Form
|
|||
'placeholder' => 'Username/Email',
|
||||
));
|
||||
|
||||
$validator = new EmailValidator(array(
|
||||
'message' => 'The e-mail is not valid',
|
||||
));
|
||||
$email->addValidator($validator);
|
||||
|
||||
$this->add($email);
|
||||
|
||||
// Password
|
||||
|
|
|
|||
Reference in a new issue