summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 12:22:55 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 12:22:55 +0100
commit5a514a3e1113ea176b51f6bd8d8177dca2c021f4 (patch)
tree9fa8d3e604cd390302b53e340d8bc642d3c6a2a7 /synapse/rest
parentMerge commit 'd80428513' into anoa/dinsic_release_1_31_0 (diff)
parent1.28.0rc1 (diff)
downloadsynapse-5a514a3e1113ea176b51f6bd8d8177dca2c021f4.tar.xz
Merge commit '1381cd05b' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/synapse/client/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/rest/synapse/client/__init__.py b/synapse/rest/synapse/client/__init__.py

index e5ef515090..8588b6d271 100644 --- a/synapse/rest/synapse/client/__init__.py +++ b/synapse/rest/synapse/client/__init__.py
@@ -54,11 +54,7 @@ def build_synapse_client_resource_tree(hs: "HomeServer") -> Mapping[str, Resourc if hs.config.saml2_enabled: from synapse.rest.synapse.client.saml2 import SAML2Resource - res = SAML2Resource(hs) - resources["/_synapse/client/saml2"] = res - - # This is also mounted under '/_matrix' for backwards-compatibility. - resources["/_matrix/saml2"] = res + resources["/_synapse/client/saml2"] = SAML2Resource(hs) return resources