Skip to content

Commit

Permalink
Adjust error handlign in LoginEmailPasswordFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB committed Oct 24, 2023
1 parent a3bfab4 commit f1a3975
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@ public void onLoginStateUpdated(LoginState loginState) {
// consume the state so we don't relauch the 2FA dialog if user backs up
LoginWpcomService.clearLoginServiceState();
break;
case FAILURE_SECURITY_KEY:
// TODO: remove this, not necessary
case SECURITY_KEY_NEEDED:
onLoginFinished(false);
// consume the state so we don't relauch the 2FA dialog if user backs up
LoginWpcomService.clearLoginServiceState();
Expand Down

0 comments on commit f1a3975

Please sign in to comment.