summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 14:38:38 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 14:38:38 +0100
commitc44a5b7f17bac32d5646cb4688d730a7cea8a7f6 (patch)
tree4b774d347e9f373e3a30751a04b52683701d9a06 /synapse
parentMerge commit '292792194' into anoa/dinsic_release_1_31_0 (diff)
parent 1.28.0 (diff)
downloadsynapse-c44a5b7f17bac32d5646cb4688d730a7cea8a7f6.tar.xz
Merge commit 'b5c4fe197' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse')
-rw-r--r--synapse/__init__.py2
-rw-r--r--synapse/rest/synapse/client/__init__.py7
2 files changed, 7 insertions, 2 deletions
diff --git a/synapse/__init__.py b/synapse/__init__.py

index 2e70f46186..869e860fb0 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py
@@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.28.0rc1" +__version__ = "1.28.0" if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): # We import here so that we don't have to install a bunch of deps when diff --git a/synapse/rest/synapse/client/__init__.py b/synapse/rest/synapse/client/__init__.py
index 8588b6d271..9eeb970580 100644 --- a/synapse/rest/synapse/client/__init__.py +++ b/synapse/rest/synapse/client/__init__.py
@@ -54,7 +54,12 @@ def build_synapse_client_resource_tree(hs: "HomeServer") -> Mapping[str, Resourc if hs.config.saml2_enabled: from synapse.rest.synapse.client.saml2 import SAML2Resource - resources["/_synapse/client/saml2"] = SAML2Resource(hs) + res = SAML2Resource(hs) + resources["/_synapse/client/saml2"] = res + + # This is also mounted under '/_matrix' for backwards-compatibility. + # To be removed in Synapse v1.32.0. + resources["/_matrix/saml2"] = res return resources