diff --git a/thin_egress_app/app.py b/thin_egress_app/app.py index 64b04536..c02131bc 100644 --- a/thin_egress_app/app.py +++ b/thin_egress_app/app.py @@ -90,7 +90,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=os.getenv('SESSION_TTL_HRS', 7 * 24), ) TEMPLATE_MANAGER = TemplateManager(conf_bucket, template_dir)