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:
parent
c00e336ea8
commit
ea4de82545
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue