debian-mirror-gitlab/config/initializers/cookies_serializer.rb

6 lines
276 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
# Be sure to restart your server when you modify this file.
2020-05-24 23:13:21 +05:30
Rails.application.config.action_dispatch.use_cookies_with_metadata = true
2020-07-02 01:45:43 +05:30
Rails.application.config.action_dispatch.cookies_serializer =
Gitlab::Utils.to_boolean(ENV['USE_UNSAFE_HYBRID_COOKIES']) ? :hybrid : :json