1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/config/initializers/session_store.rb

8 lines
357 B
Ruby
Raw Normal View History

2020-03-09 12:12:42 +01:00
# frozen_string_literal: true
2015-05-05 03:10:25 +02:00
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store,
key: '_Fab-manager_session',
secure: (Rails.env.production? || Rails.env.staging?) && !Rails.application.secrets.allow_insecure_http