summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index 1bd93526ad..a99dcaab6f 100644
--- a/synapse/rest/client/v1/login.py
+++ b/synapse/rest/client/v1/login.py
@@ -157,7 +157,7 @@ class LoginRestServlet(ClientV1RestServlet):
                         "home_server": self.hs.hostname,
                     }
 
-            defer.returnValue((200, result))
+                defer.returnValue((200, result))
 
         raise LoginError(401, "Invalid CAS response", errcode=Codes.UNAUTHORIZED)