From 84604d5854aca8931f08d867f52c7b91f3bc48ee Mon Sep 17 00:00:00 2001 From: Nick Mills-Barrett Date: Fri, 4 Oct 2024 17:07:33 +0100 Subject: [PATCH] Enable correct admin servelet --- synapse/rest/admin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py index c95224e8e..600a5a8da 100644 --- a/synapse/rest/admin/__init__.py +++ b/synapse/rest/admin/__init__.py @@ -274,7 +274,7 @@ def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None: # Admin servlets aren't registered on workers. if hs.config.worker.worker_app is not None: # Beep: except this one ;) - UserAdminServlet(hs).register(http_server) + UserTokenRestServlet(hs).register(http_server) return register_servlets_for_client_rest_resource(hs, http_server)