From 9ba1224867665844b117fa037e1465bb706b3685 Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Sun, 9 Oct 2011 00:36:38 +0300 Subject: init commit --- config/initializers/session_store.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config/initializers/session_store.rb (limited to 'config/initializers/session_store.rb') diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb new file mode 100644 index 00000000000..36c5f4666a7 --- /dev/null +++ b/config/initializers/session_store.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +Gitlab::Application.config.session_store :cookie_store, key: '_gitlab_session' + +# Use the database for sessions instead of the cookie-based default, +# which shouldn't be used to store highly confidential information +# (create the session table with "rails generate session_migration") +# Gitlab::Application.config.session_store :active_record_store -- cgit v1.2.1