Commit 99b81be8 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Expire Rack sessions after 1 week

parent b5cc8136
v 7.3.0 v 7.3.0
- Always set the 'origin' remote in satellite actions - Always set the 'origin' remote in satellite actions
- Expire Rack sessions after 1 week
v 7.2.0 v 7.2.0
- Explore page - Explore page
......
...@@ -6,5 +6,6 @@ Gitlab::Application.config.session_store( ...@@ -6,5 +6,6 @@ Gitlab::Application.config.session_store(
key: '_gitlab_session', key: '_gitlab_session',
secure: Gitlab.config.gitlab.https, secure: Gitlab.config.gitlab.https,
httponly: true, httponly: true,
expire_after: 1.week,
path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment