Expire Rack sessions after 1 week

This commit is contained in:
Jacob Vosmaer 2014-08-26 10:58:16 +02:00
parent b5cc813612
commit 99b81be887
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
v 7.3.0
- Always set the 'origin' remote in satellite actions
- Expire Rack sessions after 1 week
v 7.2.0
- Explore page

View File

@ -6,5 +6,6 @@ Gitlab::Application.config.session_store(
key: '_gitlab_session',
secure: Gitlab.config.gitlab.https,
httponly: true,
expire_after: 1.week,
path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root
)