0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 14:18:55 +01:00

Another use of check_password that got missed in the yield fix

This commit is contained in:
David Baker 2015-08-20 15:35:14 +01:00
parent 099ce4bc38
commit ca0d28ef34

View file

@ -162,7 +162,7 @@ class AuthHandler(BaseHandler):
if not user_id.startswith('@'): if not user_id.startswith('@'):
user_id = UserID.create(user_id, self.hs.hostname).to_string() 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.returnValue(user_id)
@defer.inlineCallbacks @defer.inlineCallbacks