2021-02-03 16:09:17 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-08-25 21:42:46 -04:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2020-05-07 11:09:29 -04:00
|
|
|
Rails.application.config.action_dispatch.use_cookies_with_metadata = true
|
2020-07-01 17:08:51 -04:00
|
|
|
Rails.application.config.action_dispatch.cookies_serializer =
|
|
|
|
Gitlab::Utils.to_boolean(ENV['USE_UNSAFE_HYBRID_COOKIES']) ? :hybrid : :json
|