diff options
author | David Baker <dave@matrix.org> | 2015-08-20 15:35:14 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-08-20 15:35:14 +0100 |
commit | ca0d28ef34022874ebc9168146df53a10bcb925e (patch) | |
tree | 5871ab29a02f4fe569d1adc390a49412995f6bb8 /synapse/handlers | |
parent | Merge pull request #231 from matrix-org/erikj/pushers_store_last_token (diff) | |
download | synapse-ca0d28ef34022874ebc9168146df53a10bcb925e.tar.xz |
Another use of check_password that got missed in the yield fix
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
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 |