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