Skip to content

Commit

Permalink
Merge pull request #1015 from ElixirTeSS/lax-cookies
Browse files Browse the repository at this point in the history
Change cookie SameSite setting to "Lax"
  • Loading branch information
fbacall committed Aug 30, 2024
2 parents 5d70aae + c626cc8 commit 13cebd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.
opts = Rails.env.production? ? { same_site: :strict, secure: true } : {}
opts = Rails.env.production? ? { same_site: :lax, secure: true } : {}
Rails.application.config.session_store :cookie_store, **opts

0 comments on commit 13cebd1

Please sign in to comment.