Commit 9f403fbe authored by alexpott's avatar alexpott

Issue #2487808 by JesseSturgis, Scott Weston: autocorrect="off" and...

Issue #2487808 by JesseSturgis, Scott Weston: autocorrect="off" and autocapitalize="off" in login form are deprecated and may be not enough
parent dcdf0f81
......@@ -102,8 +102,8 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#description' => $this->t('Enter your @s username.', array('@s' => $config->get('name'))),
'#required' => TRUE,
'#attributes' => array(
'autocorrect' => 'off',
'autocapitalize' => 'off',
'autocorrect' => 'none',
'autocapitalize' => 'none',
'spellcheck' => 'false',
'autofocus' => 'autofocus',
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment