Expected behavior
I expected to either be able to receive a SMS with a verification code when my Google account is disconnected from my WordPress.com account or at least see an error explaining why it wasn't possible to send one.
Actual behavior
I don't receive a SMS and don't see any error message explaining why.
Steps to reproduce the behavior
- Start with an account with Google sign-in and two-factor authentication enabled via SMS.
- Try to log in with your Google account.
- You should receive the SMS with the verification code and be able to log in normally.
- Quickly log out and try to log in again.
- You should see a "Too many attempts" error, which is expected.
- From the web, disconnect your Google account on the Social Login page.
- Try to log in again.
- Notice how the "Too many attempts" error is never shown.
- Notice the Email/Password screen.
- Enter your WordPress.com account password.
- Tap Continue.
- Notice the 2FA screen.
- Notice how no SMS was received.
- Tap "Text me a code instead".
- Notice how no SMS was received again.
- Notice how no error is shown.
Tested on Pixel 3 XL, Android 10, WPAndroid 15.2-rc-2