diff options
author | David Baker <dave@matrix.org> | 2016-01-06 17:16:02 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-06 17:16:02 +0000 |
commit | b6a585348ae8a07dc8105242e182435a240e6b8f (patch) | |
tree | 770fe871b6d7173c5a13589924bac7b3a57bc497 /synapse/storage/registration.py | |
parent | fix tests (diff) | |
download | synapse-b6a585348ae8a07dc8105242e182435a240e6b8f.tar.xz |
Adding is_guest here won't work because it just constructs a dict of uid -> password hash
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index c79066f774..a52b67013b 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -142,7 +142,7 @@ class RegistrationStore(SQLBaseStore): """ def f(txn): sql = ( - "SELECT name, password_hash, is_guest FROM users" + "SELECT name, password_hash FROM users" " WHERE lower(name) = lower(?)" ) txn.execute(sql, (user_id,)) |