Add more logs to debug the portal login (#16)

This commit is contained in:
Kevin Yue
2020-05-30 22:58:58 +08:00
committed by GitHub
parent e12613d9a4
commit 73925fd1e2
10 changed files with 96 additions and 45 deletions

View File

@@ -23,6 +23,8 @@ GatewayAuthenticator::~GatewayAuthenticator()
void GatewayAuthenticator::authenticate()
{
PLOGI << "Start gateway authentication...";
LoginParams params;
params.setUser(portalConfig.username());
params.setPassword(portalConfig.password());
@@ -118,6 +120,8 @@ void GatewayAuthenticator::normalAuth(QString labelUsername, QString labelPasswo
void GatewayAuthenticator::onPerformNormalLogin(const QString &username, const QString &password)
{
PLOGI << "Start to perform normal login...";
normalLoginWindow->setProcessing(true);
LoginParams params;
params.setUser(username);