Merge branch '3-login-with-username' into 'master'
Resolve "Login with username" Closes #3 See merge request pnx/httpcb!3
This commit is contained in:
commit
34f639e964
3 changed files with 24 additions and 9 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