summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-08-20 15:35:54 +0100
committerDavid Baker <dave@matrix.org>2015-08-20 15:35:54 +0100
commitf764f9264734fdcf83869022fed23bdab5e4c8dc (patch)
tree975ec3534fa5c85ef1324e717c86bf0d6a62bee1
parentAnother use of check_password that got missed in the yield fix (diff)
downloadsynapse-f764f9264734fdcf83869022fed23bdab5e4c8dc.tar.xz
Remove spurious extra arg to set_password
-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 897c54b539..522a312c9e 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, None
+            user_id, new_password
         )
 
         defer.returnValue((200, {}))