WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Login with a saved account + 2FA can cause a login loop

Open ScoutHarris opened this issue 3 years ago • 1 comments

Expected behavior

After selecting a saved account, I should be able to go back an change the account being logged in.

Actual behavior

Any attempt to go back retries logging in with the saved account.

Steps to reproduce the behavior

  • Select a saved account from the Google Smart Lock list.
  • On the 2FA code entry view, tap back on the nav bar.
  • The email/password view is shown with the Logging in message displayed, then the code entry view is displayed again.
  • Every attempt to go back does the same thing, until finally a message is displayed that the number of login attempts is exceeded.
Tested on [Pixel 5], Android [12], WPAndroid [19.3-rc-1]

ScoutHarris avatar Feb 24 '22 21:02 ScoutHarris

I think this is a duplicate of https://github.com/wordpress-mobile/WordPress-Android/issues/14950

Encountered this again recently while switching accounts during smoke testing when I fat-fingered and tapped on the wrong account on smart lock selector and tried to go back on 2FA screen. Very annoying.

AliSoftware avatar Aug 25 '22 08:08 AliSoftware

Duplicate of #14950

irfano avatar Feb 08 '24 15:02 irfano