diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index e6660ad19..3ba077fac 100644 --- a/src/webui/webapplication.cpp +++ b/src/webui/webapplication.cpp @@ -172,6 +172,11 @@ void WebApplication::action_public_webui() void WebApplication::action_public_login() { + if (sessionActive()) { + print(QByteArray("Ok."), Http::CONTENT_TYPE_TXT); + return; + } + const Preferences* const pref = Preferences::instance(); QCryptographicHash md5(QCryptographicHash::Md5);