mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Adding is_guest here won't work because it just constructs a dict of uid -> password hash
This commit is contained in:
parent
0e48f7f245
commit
b6a585348a
@ -142,7 +142,7 @@ class RegistrationStore(SQLBaseStore):
|
|||||||
"""
|
"""
|
||||||
def f(txn):
|
def f(txn):
|
||||||
sql = (
|
sql = (
|
||||||
"SELECT name, password_hash, is_guest FROM users"
|
"SELECT name, password_hash FROM users"
|
||||||
" WHERE lower(name) = lower(?)"
|
" WHERE lower(name) = lower(?)"
|
||||||
)
|
)
|
||||||
txn.execute(sql, (user_id,))
|
txn.execute(sql, (user_id,))
|
||||||
|
Loading…
Reference in New Issue
Block a user