summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2022-11-04 18:43:51 +0200
committerGitHub <noreply@github.com>2022-11-04 16:43:51 +0000
commita4b1f6456276e62b3f4d6b060c289b6413b8a5c2 (patch)
tree8ae1ff0a8e63f06b3aa7a30362d16398827629b5 /synapse/rest
parentMerge tag 'v1.71.0rc2' into develop (diff)
downloadsynapse-a4b1f6456276e62b3f4d6b060c289b6413b8a5c2.tar.xz
Fix /refresh endpoint version (#14364)
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/login.py b/synapse/rest/client/login.py
index 7774f1967d..05706b598c 100644
--- a/synapse/rest/client/login.py
+++ b/synapse/rest/client/login.py
@@ -536,7 +536,7 @@ def _get_auth_flow_dict_for_idp(idp: SsoIdentityProvider) -> JsonDict:
 
 
 class RefreshTokenServlet(RestServlet):
-    PATTERNS = (re.compile("^/_matrix/client/v1/refresh$"),)
+    PATTERNS = client_patterns("/refresh$")
 
     def __init__(self, hs: "HomeServer"):
         self._auth_handler = hs.get_auth_handler()