support 2fa

This commit is contained in:
Kevin Yue
2021-11-15 11:06:33 +08:00
parent 692df2f2c5
commit 781223fe4f
11 changed files with 259 additions and 11 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;