Page MenuHomePhabricator

Allow submitting a 2FA code along with initial login credential submission
Open, LowestPublic

Description

We have implemented 2FA logins as a two-step process, even though AuthManager permits submitting the 2FA code along with the username, password, and other credentials in a single step. Currently, only a very small number of users (generally an admin or other power user) have 2FA enabled. Therefore, adding a persistent third field for a 2FA code to the login screen in all cases for those users isn't worth the potential confusion to others.

That said, it would be handy to have a subtle link or button for those users to show a 2FA code field so that they could submit it along with the rest of their credentials in a single step rather than having to go through a somewhat contrived two step process.