mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 15:30:21 +00:00
take extra return val from check_auth in account too
This commit is contained in:
parent
ff7d3dc3a0
commit
f5e90422f5
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue