diff --git a/src/api/v1/auth.py b/src/api/v1/auth.py index 0a24366..fca6632 100644 --- a/src/api/v1/auth.py +++ b/src/api/v1/auth.py @@ -38,7 +38,7 @@ async def login( httponly=True, samesite="lax", path=settings.api.v1_login_url, - max_age=60 * 60 * 24 * 7, + max_age=60 * 60 * 24 * settings.refresh_token.expire_days, ) return result