diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index 2cb3edda6f14..168fd16c236a 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; }