0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-03 21:28:57 +01:00

take extra return val from check_auth in account too

This commit is contained in:
David Baker 2016-03-16 14:33:19 +00:00
parent ff7d3dc3a0
commit f5e90422f5

View file

@ -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))