Skip to content

Commit

Permalink
Use cookie session storage whilst Redis errors exist (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansberry authored Nov 26, 2024
1 parent 57d8509 commit bf48d19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions roles/ckan/templates/ckan/ckan_production.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ beaker.session.timeout = 86400
beaker.session.secret = {{ ckan_beaker_secret }}

## CKAN >=2.11 Session settings
SESSION_TYPE = redis
SESSION_COOKIE_NAME = ckan
SESSION_PERMANENT = true
PERMANENT_SESSION_LIFETIME = 86400
## Using default cookie session storage until this issue is resolved:
## https://github.com/ckan/ckan/issues/8547
## SESSION_TYPE = redis
## SESSION_COOKIE_NAME = ckan
## SESSION_PERMANENT = true
## PERMANENT_SESSION_LIFETIME = 86400
# The secret token that is used for session management and other security related tasks as well
SECRET_KEY = {{ ckan_secret_key }}

Expand Down

0 comments on commit bf48d19

Please sign in to comment.