diff --git a/roles/anitya/frontend/templates/anitya.cfg b/roles/anitya/frontend/templates/anitya.cfg index ed8a23db08..3aa6c3f06a 100644 --- a/roles/anitya/frontend/templates/anitya.cfg +++ b/roles/anitya/frontend/templates/anitya.cfg @@ -1,5 +1,10 @@ # Beware that the quotes around the values are mandatory +from datetime import timedelta +# Set the time after which the session expires +PERMANENT_SESSION_LIFETIME = timedelta(hours=24) + + ### Secret key for the Flask application SECRET_KEY='{{ anitya_secret_key }}'