Skip to content

Commit

Permalink
Merge pull request #160 from vrk-kpa/REKDAT-65_use_cookie_based_sessions
Browse files Browse the repository at this point in the history
REKDAT-65: Use cookie based sessions to resolve logout issues
  • Loading branch information
Zharktas authored Jan 10, 2024
2 parents c5c13f7 + 77d0660 commit b907d82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckan/templates/ckan.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ beaker.session.cookie_expires = {% if environ('DEV_MODE') == 'true' %}False{% el
# Secure session does not currently work in our environments as ssl is terminated on Load balancerreq
#beaker.session.secure = True
beaker.session.httponly = True
beaker.session.type = ext:database
beaker.session.type = cookie
beaker.session.validate_key = {{ environ('CKAN_BEAKER_SESSION_VALIDATE_KEY') }}
beaker.session.url = postgresql://{{ environ('DB_CKAN_USER') }}:{{ environ('DB_CKAN_PASS') }}@{{ environ('DB_CKAN_HOST') }}/{{ environ('DB_CKAN') }}

app_instance_uuid = {{ environ('CKAN_APP_INSTANCE_UUID') }}

Expand Down

0 comments on commit b907d82

Please sign in to comment.