@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Autofocus the "App Code" input on the TOTP prompt during MFA gates after login

Summary: See downstream <https://phabricator.wikimedia.org/T229757>. The "autofocus" attribute mostly just works, so add it to this input.

Test Plan: As a user with TOTP enabled, established a new session. Saw browser automatically focus the "App Code" input on the TOTP prompt screen.

Differential Revision: https://secure.phabricator.com/D20703

+1
+1
src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
··· 194 194 $control = id(new PHUIFormNumberControl()) 195 195 ->setName($name) 196 196 ->setDisableAutocomplete(true) 197 + ->setAutofocus(true) 197 198 ->setValue($value) 198 199 ->setError($error); 199 200 }