mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-05 14:47:25 +03: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:
parent
27451469fa
commit
4c6dd8e68d
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue