From e75c515244976a012b590c87b6921cd4a79f1418 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Wed, 6 Apr 2022 17:25:55 +0200 Subject: [PATCH] Fix an unblock-code-required issue - fix VPN-2037 --- 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