diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2022-02-04 13:15:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 12:15:13 +0000 |
commit | 02632b3504ad4512c5f5a4f859b3fe326b19c788 (patch) | |
tree | a23ed29bbea62e51471f65a059ca3b7929f71e42 /synapse/rest/client | |
parent | Delete MSC1711_certificates_FAQ.md (#11907) (diff) | |
download | synapse-02632b3504ad4512c5f5a4f859b3fe326b19c788.tar.xz |
Stabilise MSC3231 (Token Based Registration) (#11867)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/register.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/synapse/rest/client/register.py b/synapse/rest/client/register.py index e3492f9f93..c283313e8d 100644 --- a/synapse/rest/client/register.py +++ b/synapse/rest/client/register.py @@ -368,7 +368,7 @@ class RegistrationTokenValidityRestServlet(RestServlet): Example: - GET /_matrix/client/unstable/org.matrix.msc3231/register/org.matrix.msc3231.login.registration_token/validity?token=abcd + GET /_matrix/client/v1/register/m.login.registration_token/validity?token=abcd 200 OK @@ -378,9 +378,8 @@ class RegistrationTokenValidityRestServlet(RestServlet): """ PATTERNS = client_patterns( - f"/org.matrix.msc3231/register/{LoginType.REGISTRATION_TOKEN}/validity", - releases=(), - unstable=True, + f"/register/{LoginType.REGISTRATION_TOKEN}/validity", + releases=("v1",), ) def __init__(self, hs: "HomeServer"): |