mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Remove wrong conditional in Origin trustworthy check
It might block WebUI from logging in under specific network configurations.
This commit is contained in:
parent
2d1c4fc809
commit
c2978f6cab
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…
Add table
Add a link
Reference in a new issue