Don't auto-capitalize the username in the login form
This commit is contained in:
parent
bf809ef7c8
commit
7c83db08a3
|
@ -39,9 +39,10 @@ class LoginForm extends Form
|
||||||
'text',
|
'text',
|
||||||
'username',
|
'username',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'autocapitalize' => 'off',
|
||||||
'label' => $this->translate('Username'),
|
'class' => false === isset($formData['username']) ? 'autofocus' : '',
|
||||||
'class' => false === isset($formData['username']) ? 'autofocus' : ''
|
'label' => $this->translate('Username'),
|
||||||
|
'required' => true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
|
|
Loading…
Reference in New Issue