diff options
author | Jason Little <realtyem@gmail.com> | 2023-03-17 08:50:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 09:50:31 -0400 |
commit | 3d70cc393fb32235bbeb94a0b97691dff5531f4d (patch) | |
tree | 9625abc5bb76e661f261a8f988bcae1a9e7ab23a /synapse/rest | |
parent | Make `configure_workers_and_start` script used in Complement tests compatible... (diff) | |
download | synapse-3d70cc393fb32235bbeb94a0b97691dff5531f4d.tar.xz |
Load `/register/available` endpoint on workers (#15268)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/register.py b/synapse/rest/client/register.py index bce806f2bb..4adb5271d2 100644 --- a/synapse/rest/client/register.py +++ b/synapse/rest/client/register.py @@ -956,7 +956,7 @@ def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None: if hs.config.worker.worker_app is None: EmailRegisterRequestTokenRestServlet(hs).register(http_server) MsisdnRegisterRequestTokenRestServlet(hs).register(http_server) - UsernameAvailabilityRestServlet(hs).register(http_server) RegistrationSubmitTokenServlet(hs).register(http_server) + UsernameAvailabilityRestServlet(hs).register(http_server) RegistrationTokenValidityRestServlet(hs).register(http_server) RegisterRestServlet(hs).register(http_server) |