diff options
author | Valery Sizov <valery@gitlab.com> | 2016-04-13 13:20:57 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-04-13 20:57:19 +0300 |
commit | 2244aaf98f6c9b68e30febf6b80f2c0d965e541a (patch) | |
tree | f4f0d173cb484103a166c2f3fb3f3891a1b030c9 /config/initializers/session_store.rb | |
parent | 8cb41f19891e4f39c64abd6b2a273625103c5f43 (diff) |
Redis configuration consistency
Diffstat (limited to 'config/initializers/session_store.rb')
-rw-r--r-- | config/initializers/session_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 70285255877..88cb859871c 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -14,7 +14,7 @@ if Rails.env.test? Gitlab::Application.config.session_store :cookie_store, key: "_gitlab_session" else redis_config = Gitlab::Redis.redis_store_options - redis_config[:namespace] = 'session:gitlab' + redis_config[:namespace] = Gitlab::Redis::SESSION_NAMESPACE Gitlab::Application.config.session_store( :redis_store, # Using the cookie_store would enable session replay attacks. |