mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-14 10:53:17 +00:00
e79f8dd85c
* Enable secure cookie flag for https only * Disable force_ssl for .onion hosts only Co-authored-by: Aiden McClelland <me@drbonez.dev>
7 lines
166 B
Ruby
7 lines
166 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
Rails.application.config.session_store :cookie_store, {
|
|
key: '_mastodon_session',
|
|
same_site: :lax,
|
|
}
|