Useful UX improvement
@@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
],
]); ?>
- <?= $form->field($model, 'username') ?>
+ <?= $form->field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?>
<?= $form->field($model, 'password')->passwordInput() ?>