Add field 'acitve' to user authentication

This commit is contained in:
knedlik
2025-12-19 08:27:36 +01:00
parent 37d1daa052
commit 9c5ed967ec
3 changed files with 10 additions and 5 deletions

View File

@@ -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: