05/18 Enhanced codes and functionalities 2

This commit is contained in:
2026-05-18 11:48:31 -04:00
parent fc4145a78e
commit 4364daecef
4 changed files with 45 additions and 16 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ def login():
# Columns do not exist yet — migration pending. Skip lockout check.
db.session.rollback()
if not user or not verify_auth_token(auth_hash, user.master_hash):
if not user or not verify_auth_token(auth_hash, user.master_hash, user=user):
if user:
try:
user.failed_login_count = (user.failed_login_count or 0) + 1