Login: Disable the required cue

It should be obvious that it is necessary to input a name and a password
to login in case you're looking at a "login" form...

refs #7934
This commit is contained in:
Johannes Meyer 2015-02-27 09:09:25 +01:00
parent c00e336ea8
commit ea4de82545
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class LoginForm extends Form
*/ */
public function init() public function init()
{ {
$this->setRequiredCue(null);
$this->setName('form_login'); $this->setName('form_login');
$this->setSubmitLabel($this->translate('Login')); $this->setSubmitLabel($this->translate('Login'));
} }