Adding is_guest here won't work because it just constructs a dict of uid -> password hash

pull/4/merge
David Baker 9 years ago
parent 0e48f7f245
commit b6a585348a
  1. 2
      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,))

Loading…
Cancel
Save