diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index 2cb3edda6..168fd16c2 100644 --- a/src/webui/webapplication.cpp +++ b/src/webui/webapplication.cpp @@ -783,10 +783,6 @@ bool WebApplication::isOriginTrustworthy() const if (m_isHttpsEnabled) return true; - // client is on localhost - if (env().clientAddress.isLoopback()) - return true; - return false; }