summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-03-11 13:14:18 +0000
committerDavid Baker <dave@matrix.org>2016-03-11 13:14:18 +0000
commitaa11db5f119b9fa88242b0df95cfddd00e196ca1 (patch)
treeebf68ea7e6d5b084ba3d8ded10bfa265ca88b6e7 /synapse/rest
parentMerge pull request #638 from matrix-org/daniel/appserviceid (diff)
downloadsynapse-aa11db5f119b9fa88242b0df95cfddd00e196ca1.tar.xz
Fix cache invalidation so deleting access tokens (which we did when changing password) actually takes effect without HS restart. Reinstate the code to avoid logging out the session that changed the password, removed in 415c2f05491ce65a4fc34326519754cd1edd9c54
Diffstat (limited to 'synapse/rest')
-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, {}))