diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-28 14:56:55 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-28 14:56:55 +0100 |
commit | 8d7d251c356f74a376053619f23057f0d6d8aa1e (patch) | |
tree | 8ad9aefa4539a190fee82ec789db7dabbbfc7430 /synapse/rest | |
parent | Fleshed out login spec. (diff) | |
download | synapse-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.py | 2 |
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, {}) |