mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-23 06:35:24 -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)
|
if (m_isHttpsEnabled)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// client is on localhost
|
|
||||||
if (env().clientAddress.isLoopback())
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue