about summary refs log tree commit diff
path: root/config/initializers/devise.rb
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:22 +0000
committerpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:22 +0000
commitfb7ec403227690f897a9a693f2461b94bf7e2582 (patch)
tree043d220748575a444b8628d8c4bf2e5225a92a00 /config/initializers/devise.rb
parentae24ef877b82466cab026a76ea6ed8598ddaae18 (diff)
parent530d29148ca0c5bf29f6fa516b1ef4f91d95894b (diff)
Merge branch 'glitch'
Diffstat (limited to 'config/initializers/devise.rb')
-rw-r--r--config/initializers/devise.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 3e4c9a79d..cd9bacf68 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -10,7 +10,6 @@ Warden::Manager.after_set_user except: :fetch do |user, warden|
     expires: 1.year.from_now,
     httponly: true,
     secure: (Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'),
-    same_site: :lax,
   }
 end
 
@@ -21,7 +20,6 @@ Warden::Manager.after_fetch do |user, warden|
       expires: 1.year.from_now,
       httponly: true,
       secure: (Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'),
-      same_site: :lax,
     }
   else
     warden.logout