Skip to content
Snippets Groups Projects
Commit 439e27cc authored by catch's avatar catch
Browse files

Issue #20446 by dead_arm: Added Cursor focus on user login page.

parent c74aa1ec
No related branches found
No related tags found
No related merge requests found
......@@ -1871,6 +1871,9 @@ function user_login($form, &$form_state) {
'#size' => 60,
'#maxlength' => USERNAME_MAX_LENGTH,
'#required' => TRUE,
'#attributes' => array(
'autofocus' => 'autofocus',
),
);
$form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', 'Drupal')));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment