fix max age

This commit is contained in:
IluaAir
2025-09-27 12:00:17 +03:00
parent b87c37b149
commit 966b59ff20

View File

@@ -38,7 +38,7 @@ async def login(
httponly=True, httponly=True,
samesite="lax", samesite="lax",
path=settings.api.v1_login_url, path=settings.api.v1_login_url,
max_age=60 * 60 * 24 * 7, max_age=60 * 60 * 24 * settings.refresh_token.expire_days,
) )
return result return result