diff --git a/src/webui/api/authcontroller.cpp b/src/webui/api/authcontroller.cpp index ff80c25e3..1291f98a5 100644 --- a/src/webui/api/authcontroller.cpp +++ b/src/webui/api/authcontroller.cpp @@ -69,6 +69,8 @@ void AuthController::loginAction() const bool equalPass = Utils::String::slowEquals(passwordFromWebHashed.toUtf8(), password.toUtf8()); if (equalUser && equalPass) { + m_clientFailedLogins.remove(clientAddr); + sessionManager()->sessionStart(); setResult(QLatin1String("Ok.")); LogMsg(tr("WebAPI login success. IP: %1").arg(clientAddr));