summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-26 10:49:25 -0500
committerGitHub <noreply@github.com>2021-01-26 10:49:25 -0500
commit26837d5dbeae211968b3d52cdc10f005ba612a9f (patch)
tree7440b45b091bd43cae89990564fb231ff6df1e79 /synapse/handlers
parentPrecompute joined hosts and store in Redis (#9198) (diff)
downloadsynapse-26837d5dbeae211968b3d52cdc10f005ba612a9f.tar.xz
Do not require the CAS service URL setting (use public_baseurl instead). (#9199)
The current configuration is handled for backwards compatibility,
but is considered deprecated.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/cas_handler.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/handlers/cas_handler.py b/synapse/handlers/cas_handler.py
index 0f342c607b..21b6bc4992 100644
--- a/synapse/handlers/cas_handler.py
+++ b/synapse/handlers/cas_handler.py
@@ -99,11 +99,7 @@ class CasHandler:
         Returns:
             The URL to use as a "service" parameter.
         """
-        return "%s%s?%s" % (
-            self._cas_service_url,
-            "/_matrix/client/r0/login/cas/ticket",
-            urllib.parse.urlencode(args),
-        )
+        return "%s?%s" % (self._cas_service_url, urllib.parse.urlencode(args),)
 
     async def _validate_ticket(
         self, ticket: str, service_args: Dict[str, str]