mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-28 21:19:29 -04:00
Merge remote-tracking branch 'upstream/release-v1.28.0'
This commit is contained in:
commit
37b0f4c3a8
4 changed files with 26 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue