about summary refs log tree commit diff
path: root/config/initializers/makara.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/makara.rb')
-rw-r--r--config/initializers/makara.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/makara.rb b/config/initializers/makara.rb
new file mode 100644
index 000000000..dc88fa63c
--- /dev/null
+++ b/config/initializers/makara.rb
@@ -0,0 +1,2 @@
+Makara::Cookie::DEFAULT_OPTIONS[:same_site] = :lax
+Makara::Cookie::DEFAULT_OPTIONS[:secure]    = Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'