summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-08-20 15:35:14 +0100
committerDavid Baker <dave@matrix.org>2015-08-20 15:35:14 +0100
commitca0d28ef34022874ebc9168146df53a10bcb925e (patch)
tree5871ab29a02f4fe569d1adc390a49412995f6bb8 /synapse/handlers
parentMerge pull request #231 from matrix-org/erikj/pushers_store_last_token (diff)
downloadsynapse-ca0d28ef34022874ebc9168146df53a10bcb925e.tar.xz
Another use of check_password that got missed in the yield fix
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