mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Remove wrong conditional in Origin trustworthy check
It might block WebUI from logging in under specific network configurations.
Fix up 130c0d8487.
PR #21972.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user