fix: remove granted_at from login token

This commit is contained in:
GareArc
2025-06-05 01:47:04 +09:00
parent 4e17af5326
commit 6c133dc45c
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import random
from datetime import UTC, datetime, timedelta
from time import time
from typing import Any, Optional, cast
from werkzeug.exceptions import NotFound, Unauthorized
@ -114,7 +113,6 @@ class WebAppAuthService:
"session_id": account.email,
"token_source": "webapp_login_token",
"auth_type": "internal",
"granted_at": int(time()),
"exp": exp,
}