Page MenuHomePhabricator

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

Authored by epriestley on Aug 8 2019, 5:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 11, 6:07 PM
Unknown Object (File)
Jul 1 2026, 6:28 PM
Unknown Object (File)
Jun 21 2026, 8:00 PM
Unknown Object (File)
Jun 3 2026, 7:48 PM
Unknown Object (File)
May 28 2026, 8:36 PM
Unknown Object (File)
Apr 21 2026, 11:23 AM
Unknown Object (File)
Apr 10 2026, 3:05 AM
Unknown Object (File)
Apr 8 2026, 3:59 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
autofocus1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23237
Build 31921: Run Core Tests
Build 31920: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 8 2019, 7:54 PM
This revision was automatically updated to reflect the committed changes.