You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2FA will be required on PyPI, and for some projects is already required. We should prevent an account from regressing in their 2FA-ness and prevent the last 2FA method from being removed before another method is added.
The text was updated successfully, but these errors were encountered:
Hi, I'd be happy to work on this one. Here are the implementation details I'd likely follow. Feel free to voice suggested changes:
On the Account Settings page, if there is only one 2FA method, the Remove button will be disabled and greyed out.
If you mouse over the disabled Remove button, the cursor will turn into the "not" symbol and a tool tip will say "Not allowed to remove last 2FA method" (similar behavior to the Your Projects page with the Manage and View buttons).
The backend will also check that at least two 2FA methods are present before removing a method.
2FA will be required on PyPI, and for some projects is already required. We should prevent an account from regressing in their 2FA-ness and prevent the last 2FA method from being removed before another method is added.
The text was updated successfully, but these errors were encountered: