Skip to content

Commit

Permalink
Merge pull request #363 from chaynHQ/tarebyte/cookies
Browse files Browse the repository at this point in the history
Specify cookies SameSite protection level to lax
  • Loading branch information
tarebyte authored Sep 12, 2023
2 parents b5f8627 + 8dc00df commit 42014a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_6_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
# This change is not backwards compatible with earlier Rails versions.
# It's best enabled when your entire app is migrated and stable on 6.1.
# Rails.application.config.action_dispatch.cookies_same_site_protection = :lax
Rails.application.config.action_dispatch.cookies_same_site_protection = :lax

# Generate CSRF tokens that are encoded in URL-safe Base64.
#
Expand Down

0 comments on commit 42014a0

Please sign in to comment.