diff --git a/themes/cp_auth/login.php b/themes/cp_auth/login.php
index 8f7d124781f6c2621524b47ba07143f993e4bcc2..ba6fd06e28ad7759a468bc72e6cea005700da25e 100644
--- a/themes/cp_auth/login.php
+++ b/themes/cp_auth/login.php
@@ -14,7 +14,8 @@
     <Forms.Field
         name="login"
         label="<?= lang('Auth.emailOrUsername') ?>"
-        required="true" />
+        required="true"
+        autofocus="autofocus" />
 
     <Forms.Field
         name="password"