summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-04-14 18:46:45 +0100
committerDavid Baker <dbkr@users.noreply.github.com>2016-04-14 18:46:45 +0100
commita4c56bf67b03fc2c0464343899d1fdf46f37eb8f (patch)
treea65b3e665f8548eb8bcc32acb29d5404635703be /synapse/handlers/auth.py
parentfix urlparse import thinko breaking tiny URLs (diff)
parentFix login to error for nonexistent users (diff)
downloadsynapse-a4c56bf67b03fc2c0464343899d1fdf46f37eb8f.tar.xz
Merge pull request #729 from matrix-org/dbkr/fix_login_nonexistent_user
Fix login to error for nonexistent users
Diffstat (limited to 'synapse/handlers/auth.py')
-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 7a13a8b11c..9341cb5cfe 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py
@@ -441,7 +441,7 @@ class AuthHandler(BaseHandler): user_id, password_hash = yield self._find_user_id_and_pwd_hash(user_id) defer.returnValue(not self.validate_hash(password, password_hash)) except LoginError: - defer.returnValue(False) + defer.returnValue(True) @defer.inlineCallbacks def _check_ldap_password(self, user_id, password):