summary refs log tree commit diff
path: root/synapse/rest/client/logout.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/logout.py')
-rw-r--r--synapse/rest/client/logout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/logout.py b/synapse/rest/client/logout.py
index b64a6d5961..94ad90942f 100644
--- a/synapse/rest/client/logout.py
+++ b/synapse/rest/client/logout.py
@@ -80,7 +80,7 @@ class LogoutAllRestServlet(RestServlet):
 
 
 def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None:
-    if hs.config.auth.oauth_delegation_enabled:
+    if hs.config.experimental.msc3861.enabled:
         return
 
     LogoutRestServlet(hs).register(http_server)