From 5e80460fbec996dccd48c2df5f714c10e49ba04c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 25 Jan 2021 10:06:15 +0100 Subject: [PATCH] Set ->autoFocus() for UserPasswordField in ReauthenticationForm --- wcfsetup/install/files/lib/form/ReauthenticationForm.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php b/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php index 336d216c0e..0de68282cf 100644 --- a/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php +++ b/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php @@ -68,7 +68,8 @@ class ReauthenticationForm extends AbstractFormBuilderForm TemplateFormNode::create('loginAs') ->templateName('__reauthenticationLoginAs'), UserPasswordField::create() - ->required(), + ->required() + ->autoFocus(), ]); } -- 2.20.1