diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index 53e69b2f6..a6f28b00b 100644 --- a/src/webui/webapplication.cpp +++ b/src/webui/webapplication.cpp @@ -156,9 +156,7 @@ void WebApplication::sendWebUIFile() const QString path { (request().path != QLatin1String("/") ? request().path - : (session() - ? QLatin1String("/index.html") - : QLatin1String("/login.html"))) + : QLatin1String("/index.html")) }; QString localPath { diff --git a/src/webui/www/public/login.html b/src/webui/www/public/index.html similarity index 100% rename from src/webui/www/public/login.html rename to src/webui/www/public/index.html diff --git a/src/webui/www/webui.qrc b/src/webui/www/webui.qrc index 5826df4d3..ab36c2251 100644 --- a/src/webui/www/webui.qrc +++ b/src/webui/www/webui.qrc @@ -50,7 +50,7 @@ private/uploadlimit.html public/css/login.css public/css/noscript.css - public/login.html + public/index.html public/scripts/login.js