Skip to content

Commit

Permalink
Remove wrong conditional in Origin trustworthy check
Browse files Browse the repository at this point in the history
It might block WebUI from logging in under specific network configurations.

Fix up 130c0d8.
PR #21972.
  • Loading branch information
Chocobo1 authored Dec 13, 2024
1 parent 2745146 commit 4c6dd8e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/webui/webapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4c6dd8e

Please sign in to comment.