1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-24 14:37:20 +00:00
mastodon/config/initializers/session_store.rb

7 lines
233 B
Ruby

# 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,
}