Add field 'acitve' to user authentication
This commit is contained in:
@@ -163,7 +163,7 @@ def load_credentials_from_db() -> dict:
|
||||
|
||||
with closing(get_conn()) as conn:
|
||||
rows = conn.execute(
|
||||
"SELECT username, email, password_hash FROM users"
|
||||
"SELECT username, email, password_hash FROM users where active = 1"
|
||||
).fetchall()
|
||||
|
||||
for username, email, pw_hash in rows:
|
||||
|
||||
Reference in New Issue
Block a user