Skip to content

Commit 3e93ec0

Browse files
committed
Set default value to this config: forgery_protection_origin_check
1 parent 896e31e commit 3e93ec0

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
@@ -10,7 +10,7 @@
1010
Rails.application.config.action_controller.per_form_csrf_tokens = false
1111

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

1515
# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
1616
# Previous versions had false.

0 commit comments

Comments
 (0)