Enable use of URL safe CSRF tokens
This commit is contained in:
parent
6db5b2e6f3
commit
afc4c6fde1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue