Welcome to mirror list, hosted at ThFree Co, Russian Federation.

session_store.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e777ae2b78dd2f1cb38e4f4d9e941012c511fcb2 (plain)
1
2
3
4
5
6
7
8
9
10
# Be sure to restart your server when you modify this file.

Gitlab::Application.config.session_store :cookie_store, key: '_gitlab_session',
                                                      secure: Gitlab::Application.config.force_ssl,
                                                      httponly: true

# 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