Fix login: include user id in JWT payload for notes tool
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,6 +34,7 @@ def login_route():
|
||||
logger.info(f"Login successful: {username}")
|
||||
|
||||
payload = {
|
||||
"id": user['id'],
|
||||
"username": user['username'],
|
||||
"role": user['role'],
|
||||
"exp": datetime.now(timezone.utc) + timedelta(minutes=60)
|
||||
|
||||
Reference in New Issue
Block a user