TASK-002 Enforce authorization and media boundaries

This commit is contained in:
rob
2026-11-25 17:24:12 +00:00
parent cd6d6b3a83
commit 549f11d9f4
14 changed files with 374 additions and 92 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ def verify_password(username, password):
"""Verify password."""
user = (
User.query.filter_by(username=username)
.filter(User.login_disabled is not True)
.filter(User.login_disabled.is_(False))
.first()
)
if user and user.check_password(password):