From: Tim Düsterhus Date: Mon, 25 Jan 2021 09:06:15 +0000 (+0100) Subject: Set ->autoFocus() for UserPasswordField in ReauthenticationForm X-Git-Tag: 5.4.0_Alpha_1~397 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e80460fbec996dccd48c2df5f714c10e49ba04c;p=GitHub%2FWoltLab%2FWCF.git Set ->autoFocus() for UserPasswordField in ReauthenticationForm --- 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(), ]); }