diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-04 18:09:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-05 17:13:26 +0100 |
commit | 982604fbf2c96c05a98b5787f92c40d600c96c99 (patch) | |
tree | 1ef2e6d115a3285570339c683ecf7cca2d02b7e1 /synapse/rest/login.py | |
parent | AUth the contents of power level events (diff) | |
download | synapse-982604fbf2c96c05a98b5787f92c40d600c96c99.tar.xz |
Empty string is not a valid JSON object, so don't return them in HTTP responses.
Diffstat (limited to 'synapse/rest/login.py')
-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 c7bf901c8e..ba49afcaa7 100644 --- a/synapse/rest/login.py +++ b/synapse/rest/login.py @@ -70,7 +70,7 @@ class LoginFallbackRestServlet(RestServlet): def on_GET(self, request): # TODO(kegan): This should be returning some HTML which is capable of # hitting LoginRestServlet - return (200, "") + return (200, {}) def _parse_json(request): |