diff options
author | Tulir Asokan <tulir@maunium.net> | 2022-11-04 18:43:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 16:43:51 +0000 |
commit | a4b1f6456276e62b3f4d6b060c289b6413b8a5c2 (patch) | |
tree | 8ae1ff0a8e63f06b3aa7a30362d16398827629b5 /synapse | |
parent | Merge tag 'v1.71.0rc2' into develop (diff) | |
download | synapse-a4b1f6456276e62b3f4d6b060c289b6413b8a5c2.tar.xz |
Fix /refresh endpoint version (#14364)
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/login.py | 2 |
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() |