diff --git a/GPClient/challengedialog.cpp b/GPClient/challengedialog.cpp index 0fd3e80..bf842e7 100644 --- a/GPClient/challengedialog.cpp +++ b/GPClient/challengedialog.cpp @@ -36,4 +36,3 @@ void ChallengeDialog::on_challengeInput_textChanged(const QString &value) okBtn->setEnabled(true); } } - diff --git a/GPClient/gatewayauthenticator.cpp b/GPClient/gatewayauthenticator.cpp index fbf1014..7949d65 100644 --- a/GPClient/gatewayauthenticator.cpp +++ b/GPClient/gatewayauthenticator.cpp @@ -68,6 +68,7 @@ void GatewayAuthenticator::onLoginFinished() // 2FA if (response.contains("Challenge")) { + PLOGI << "The server need input the challenge..."; showChallenge(response); return; } @@ -206,6 +207,7 @@ void GatewayAuthenticator::showChallenge(const QString &responseText) connect(challengeDialog, &ChallengeDialog::accepted, this, [this] { params.setPassword(challengeDialog->getChallenge()); + PLOGI << "Challenge submitted, try to re-authenticate..."; authenticate(); });