Skip to content

Commit 3eb9b87

Browse files
committed
Set default value to this config: per_form_csrf_tokens
1 parent 3e93ec0 commit 3eb9b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/new_framework_defaults.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
88

99
# Enable per-form CSRF tokens. Previous versions had false.
10-
Rails.application.config.action_controller.per_form_csrf_tokens = false
10+
#Rails.application.config.action_controller.per_form_csrf_tokens = false
1111

1212
# Enable origin-checking CSRF mitigation. Previous versions had false.
1313
#Rails.application.config.action_controller.forgery_protection_origin_check = false

0 commit comments

Comments
 (0)