diff options
author | David Baker <dave@matrix.org> | 2016-03-16 14:33:19 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-03-16 14:33:19 +0000 |
commit | f5e90422f5d70afaf9bdf97cc620b563cf31a8eb (patch) | |
tree | a6e50fdca7bafd9a48798837cd13be70f1889a97 /synapse/rest/client/v2_alpha/account.py | |
parent | Fix tests (diff) | |
download | synapse-f5e90422f5d70afaf9bdf97cc620b563cf31a8eb.tar.xz |
take extra return val from check_auth in account too
Diffstat (limited to 'synapse/rest/client/v2_alpha/account.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index dd4ea45588..7f8a6a4cf7 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -43,7 +43,7 @@ class PasswordRestServlet(RestServlet): body = parse_json_object_from_request(request) - authed, result, params = yield self.auth_handler.check_auth([ + authed, result, params, _ = yield self.auth_handler.check_auth([ [LoginType.PASSWORD], [LoginType.EMAIL_IDENTITY] ], body, self.hs.get_ip_from_request(request)) |