mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 20:29:22 -05:00
take extra return val from check_auth in account too
This commit is contained in:
parent
ff7d3dc3a0
commit
f5e90422f5
@ -43,7 +43,7 @@ class PasswordRestServlet(RestServlet):
|
|||||||
|
|
||||||
body = parse_json_object_from_request(request)
|
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.PASSWORD],
|
||||||
[LoginType.EMAIL_IDENTITY]
|
[LoginType.EMAIL_IDENTITY]
|
||||||
], body, self.hs.get_ip_from_request(request))
|
], body, self.hs.get_ip_from_request(request))
|
||||||
|
Loading…
Reference in New Issue
Block a user