Commit a1ded954911224f6c24ce3ded144718278884930
Exists in
master
and in
4 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/initializers/session_store.rb
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | 2 | ||
3 | Gitlab::Application.config.session_store( | 3 | Gitlab::Application.config.session_store( |
4 | :redis_store, # Using the cookie_store would enable session replay attacks. | 4 | :redis_store, # Using the cookie_store would enable session replay attacks. |
5 | + servers: Gitlab::Application.config.cache_store.last, # re-use the Redis config from the Rails cache store | ||
5 | key: '_gitlab_session', | 6 | key: '_gitlab_session', |
6 | secure: Gitlab::Application.config.force_ssl, | 7 | secure: Gitlab::Application.config.force_ssl, |
7 | httponly: true, | 8 | httponly: true, |