fixed client login and changed qt6 lib

This commit is contained in:
2026-02-02 12:48:16 +01:00
parent 6901dc369b
commit 1de7f5b593
13 changed files with 755 additions and 21 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def get_current_user(
headers={"WWW-Authenticate": "Bearer"}
)
user_id = payload.get("sub")
user_id = int(payload.get("sub")) # sub is stored as string per JWT spec
user = db.query(User).filter(User.id == user_id).first()
if not user: