summaryrefslogtreecommitdiff
path: root/config/initializers/cookies_serializer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/cookies_serializer.rb')
-rw-r--r--config/initializers/cookies_serializer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb
index 54516e3f23d..a04d5044f4e 100644
--- a/config/initializers/cookies_serializer.rb
+++ b/config/initializers/cookies_serializer.rb
@@ -1,3 +1,4 @@
# Be sure to restart your server when you modify this file.
+Rails.application.config.action_dispatch.use_cookies_with_metadata = false
Rails.application.config.action_dispatch.cookies_serializer = :hybrid