Skip to content
Snippets Groups Projects
Unverified Commit 62db603f authored by Robert Edström's avatar Robert Edström Committed by GitHub
Browse files

Consider IP whitelist for identity server resolution (#11120)

parent 0930e9ae
No related branches found
No related tags found
No related merge requests found
Identity server connection is no longer ignoring `ip_range_whitelist`.
......@@ -54,7 +54,9 @@ class IdentityHandler:
self.http_client = SimpleHttpClient(hs)
# An HTTP client for contacting identity servers specified by clients.
self.blacklisting_http_client = SimpleHttpClient(
hs, ip_blacklist=hs.config.server.federation_ip_range_blacklist
hs,
ip_blacklist=hs.config.server.federation_ip_range_blacklist,
ip_whitelist=hs.config.server.federation_ip_range_whitelist,
)
self.federation_http_client = hs.get_federation_http_client()
self.hs = hs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment