diff --git a/views/site/login.php b/views/site/login.php index 559be64..498f46f 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title; ], ]); ?> - field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?> + field($model, 'username')->textInput(['autofocus' => true]) ?> field($model, 'password')->passwordInput() ?>