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',
|
||||
'username',
|
||||
array(
|
||||
'required' => true,
|
||||
'label' => $this->translate('Username'),
|
||||
'class' => false === isset($formData['username']) ? 'autofocus' : ''
|
||||
'autocapitalize' => 'off',
|
||||
'class' => false === isset($formData['username']) ? 'autofocus' : '',
|
||||
'label' => $this->translate('Username'),
|
||||
'required' => true
|
||||
)
|
||||
);
|
||||
$this->addElement(
|
||||
|
|
Loading…
Reference in New Issue