donphan/config/initializers/session_store.rb

7 lines
257 B
Ruby
Raw Normal View History

2016-02-20 21:53:20 +00:00
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store,
key: '_mastodon_session',
secure: false, # All cookies have their secure flag set by the force_ssl option in production
same_site: :lax