Skip to content

Commit

Permalink
Merge pull request #362 from chaynHQ/tarebyte/csrf
Browse files Browse the repository at this point in the history
Generate CSRF tokens that are encoded in URL-safe Base64
  • Loading branch information
tarebyte authored Sep 11, 2023
2 parents c428f56 + 9a8d883 commit b5f8627
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 @@ -29,7 +29,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_controller.urlsafe_csrf_tokens = true
Rails.application.config.action_controller.urlsafe_csrf_tokens = true

# Specify whether `ActiveSupport::TimeZone.utc_to_local` returns a time with an
# UTC offset or a UTC time.
Expand Down

0 comments on commit b5f8627

Please sign in to comment.