From 681ab3aac245bff2a8158e8315c2692a483c388e Mon Sep 17 00:00:00 2001 From: Michael Kohl Date: Thu, 13 Jan 2022 22:27:19 +0700 Subject: [PATCH] Enable use_cookies_with_metadata option (#16087) --- config/application.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/application.rb b/config/application.rb index 03f521576..645a0ec0f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -39,10 +39,6 @@ module PracticalDeveloper # Therefore we disable "per_form_csrf_tokens" for the time being. config.action_controller.per_form_csrf_tokens = false - ## Rails 6.0 - # Enables writing cookies with the purpose metadata embedded. - config.action_dispatch.use_cookies_with_metadata = false - ## Rails 6.1 # This replaces the old config.active_support.use_sha1_digests from Rails 5.2 config.active_support.hash_digest_class = ::Digest::MD5 # New default is ::Digest::SHA1