Fix cookies secure flag being set when served over Tor (#17992)
This commit is contained in:
parent
46633f1de1
commit
6e418bf346
4 changed files with 2 additions and 30 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
Rails.application.config.session_store :cookie_store,
|
||||
key: '_mastodon_session',
|
||||
secure: (Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'),
|
||||
secure: false, # All cookies have their secure flag set by the force_ssl option in production
|
||||
same_site: :lax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue