From 50794f1fac405de11a29b63266c73f0872ecdafa Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Fri, 28 Apr 2017 14:29:04 +0000 Subject: [PATCH] Configure bodhi sessions to last two weeks. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/production.ini.j2 | 2 ++ roles/bodhi2/base/templates/staging.ini.j2 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 5df5af47ce..31fcf125b1 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -441,6 +441,8 @@ mako.directories = bodhi:server/templates authtkt.secret = {{ bodhi2AuthTkt }} session.secret = {{ bodhi2SessionSecret }} authtkt.secure = true +# How long should an authorization ticket be valid for, in seconds? Defaults to one day. +authtkt.timeout = 1209600 # pyramid_beaker session.type = file diff --git a/roles/bodhi2/base/templates/staging.ini.j2 b/roles/bodhi2/base/templates/staging.ini.j2 index 8e1fe0ea86..ef4fd557a4 100644 --- a/roles/bodhi2/base/templates/staging.ini.j2 +++ b/roles/bodhi2/base/templates/staging.ini.j2 @@ -411,6 +411,8 @@ mako.directories = bodhi:server/templates authtkt.secret = {{ bodhi2AuthTktSTG }} session.secret = {{ bodhi2SessionSecretSTG }} authtkt.secure = true +# How long should an authorization ticket be valid for, in seconds? Defaults to one day. +authtkt.timeout = 1209600 # pyramid_beaker session.type = file