summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-11 14:48:20 +0000
committerErik Johnston <erik@matrix.org>2016-03-11 14:48:20 +0000
commitb5afe6bc3853d56c4d7044a293ea1bd2d40d94a7 (patch)
treed86aee969a8881a2319db7168d8978ae4c351aba /synapse/rest/client
parentMerge pull request #640 from matrix-org/erikj/keyclient_host (diff)
parentmore pep8 (diff)
downloadsynapse-b5afe6bc3853d56c4d7044a293ea1bd2d40d94a7.tar.xz
Merge pull request #641 from matrix-org/dbkr/fix_change_password
Fix logout on password change
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/account.py2
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 688b051580..dd4ea45588 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -79,7 +79,7 @@ class PasswordRestServlet(RestServlet):
         new_password = params['new_password']
 
         yield self.auth_handler.set_password(
-            user_id, new_password
+            user_id, new_password, requester
         )
 
         defer.returnValue((200, {}))