Add 2FA support (#112)

This commit is contained in:
Kevin Yue
2021-12-20 22:20:02 +08:00
committed by GitHub
parent 9d6ec84c14
commit 8f27c92e7b
14 changed files with 286 additions and 124 deletions

View File

@@ -41,7 +41,7 @@ void PortalAuthenticator::onPreloginFinished()
QNetworkReply *reply = qobject_cast<QNetworkReply*>(sender());
if (reply->error()) {
PLOGE << QString("Error occurred while accessing %1, %2").arg(preloginUrl).arg(reply->errorString());
PLOGE << QString("Error occurred while accessing %1, %2").arg(preloginUrl, reply->errorString());
emit preloginFailed("Error occurred on the portal prelogin interface.");
delete reply;
return;