summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-06 17:16:02 +0000
committerDavid Baker <dave@matrix.org>2016-01-06 17:16:02 +0000
commitb6a585348ae8a07dc8105242e182435a240e6b8f (patch)
tree770fe871b6d7173c5a13589924bac7b3a57bc497
parentfix tests (diff)
downloadsynapse-b6a585348ae8a07dc8105242e182435a240e6b8f.tar.xz
Adding is_guest here won't work because it just constructs a dict of uid -> password hash
-rw-r--r--synapse/storage/registration.py2
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,))