From f5a0d75f183e0382a8ff0386e50d622e05f14067 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Thu, 7 Apr 2022 07:13:30 +0200 Subject: [PATCH] Fix an unblock-code-required issue - fix VPN-2037 (#3279) --- src/authenticationinapp/authenticationinapplistener.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/authenticationinapp/authenticationinapplistener.cpp b/src/authenticationinapp/authenticationinapplistener.cpp index e069a70dde..77371854df 100644 --- a/src/authenticationinapp/authenticationinapplistener.cpp +++ b/src/authenticationinapp/authenticationinapplistener.cpp @@ -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