summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-20 15:39:05 +0100
committerErik Johnston <erik@matrix.org>2015-08-20 15:39:05 +0100
commit61cd03466f53dfd1ad07a91294abc00040ef59fd (patch)
tree975ec3534fa5c85ef1324e717c86bf0d6a62bee1 /synapse/handlers
parentMerge pull request #231 from matrix-org/erikj/pushers_store_last_token (diff)
parentRemove spurious extra arg to set_password (diff)
downloadsynapse-61cd03466f53dfd1ad07a91294abc00040ef59fd.tar.xz
Merge pull request #238 from matrix-org/fix_set_password
Fix set password
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index be2baeaece..ff2c66f442 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -162,7 +162,7 @@ class AuthHandler(BaseHandler):
         if not user_id.startswith('@'):
             user_id = UserID.create(user_id, self.hs.hostname).to_string()
 
-        self._check_password(user_id, password)
+        yield self._check_password(user_id, password)
         defer.returnValue(user_id)
 
     @defer.inlineCallbacks