diff --git a/thin_egress_app/app.py b/thin_egress_app/app.py index a0377a5d..df5e33d6 100644 --- a/thin_egress_app/app.py +++ b/thin_egress_app/app.py @@ -101,7 +101,8 @@ def wrapper(*args, **kwargs): algorithm=os.getenv('JWT_ALGO', 'RS256'), public_key=None, private_key=None, - cookie_name=os.getenv('JWT_COOKIENAME', JWT_COOKIE_NAME) + cookie_name=os.getenv('JWT_COOKIENAME', JWT_COOKIE_NAME), + session_ttl_in_hours=int(os.getenv('SESSION_TTL_HRS', 7 * 24)), ) TEMPLATE_MANAGER = TemplateManager(conf_bucket, template_dir)