diff --git a/ft-app/app/routers/auth.py b/ft-app/app/routers/auth.py index 5d8e3ee..bc52f36 100644 --- a/ft-app/app/routers/auth.py +++ b/ft-app/app/routers/auth.py @@ -41,7 +41,7 @@ def login( ) resp = RedirectResponse("/contracts/", status_code=303) - resp.set_cookie(SESSION_COOKIE, str(user.id), httponly=True, max_age=86400 * 7) + resp.set_cookie(SESSION_COOKIE, str(user.id), httponly=True) return resp