Skip to content

Commit

Permalink
Fix an unblock-code-required issue - fix VPN-2037 (#3279)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf authored Apr 7, 2022
1 parent b64370c commit f5a0d75
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/authenticationinapp/authenticationinapplistener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,10 +745,9 @@ void AuthenticationInAppListener::processErrorObject(const QJsonObject& obj) {
}

case 127: // Invalid unblock code
aia->requestState(
AuthenticationInApp::StateVerificationSessionByEmailNeeded, this);
aia->requestErrorPropagation(this,
AuthenticationInApp::ErrorInvalidEmailCode);
aia->requestState(AuthenticationInApp::StateUnblockCodeNeeded, this);
aia->requestErrorPropagation(
this, AuthenticationInApp::ErrorInvalidUnblockCode);
break;

case 142: // Sign in with this email type is not currently supported
Expand Down

0 comments on commit f5a0d75

Please sign in to comment.