summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-28 14:56:55 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-28 14:56:55 +0100
commit8d7d251c356f74a376053619f23057f0d6d8aa1e (patch)
tree8ad9aefa4539a190fee82ec789db7dabbbfc7430 /synapse/rest
parentFleshed out login spec. (diff)
downloadsynapse-8d7d251c356f74a376053619f23057f0d6d8aa1e.tar.xz
Support multiple login flows when deciding how to login. Updated cmdclient and spec. Webclient doesn't need updating for this.
Diffstat (limited to '')
-rw-r--r--synapse/rest/login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/login.py b/synapse/rest/login.py
index bcf63fd2ab..99e4f10aac 100644
--- a/synapse/rest/login.py
+++ b/synapse/rest/login.py
@@ -27,7 +27,7 @@ class LoginRestServlet(RestServlet):
     PASS_TYPE = "m.login.password"
 
     def on_GET(self, request):
-        return (200, {"type": LoginRestServlet.PASS_TYPE})
+        return (200, {"flows": [{"type": LoginRestServlet.PASS_TYPE}]})
 
     def on_OPTIONS(self, request):
         return (200, {})