chinwagsocial/config/initializers/makara.rb
Cecylia Bocovich e79f8dd85c
Onion service related changes to HTTPS handling (#15560)
* Enable secure cookie flag for https only

* Disable force_ssl for .onion hosts only

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-02-11 04:40:13 +01:00

1 line
51 B
Ruby

Makara::Cookie::DEFAULT_OPTIONS[:same_site] = :lax