debian-mirror-gitlab/config/initializers/cookies_serializer.rb
2021-12-11 22:18:48 +05:30

6 lines
233 B
Ruby

# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rails.application.config.action_dispatch.cookies_serializer =
Gitlab::Utils.to_boolean(ENV['USE_UNSAFE_HYBRID_COOKIES']) ? :hybrid : :json