about summary refs log tree commit diff
path: root/config/initializers/session_store.rb
blob: e5d1be4c6c7d53619c7bcd40c1806ef77ca669ce (plain) (blame)
1
2
3
4
5
6
7
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, {
  key: '_mastodon_session',
  secure: (Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'),
  same_site: :lax,
}