diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-05 14:51:15 +0800 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-13 05:43:17 +0800 |
commit | d470f429fb84fc02a7105de99225a93c5345b3f2 (patch) | |
tree | f05d9def15407cb01950ad819b1fa35ce03a83fa /config/application.rb | |
parent | 975763607443fad50e192411ad1da06ebb2ff532 (diff) | |
download | gitlab-ce-d470f429fb84fc02a7105de99225a93c5345b3f2.tar.gz |
Enable use of Rails' new cookie encryption
Old cookies are still valid and are automatically
upgraded by Rails
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/application.rb b/config/application.rb index 47c5ab71285..733f8652286 100644 --- a/config/application.rb +++ b/config/application.rb @@ -293,10 +293,5 @@ module Gitlab Gitlab::Routing.add_helpers(project_url_helpers) Gitlab::Routing.add_helpers(MilestonesRoutingHelper) end - - # This makes generated cookies to be compatible with Rails 5.1 and older - # We can remove this when we're confident that there are no issues with the Rails 5.2 upgrade - # and we won't need to rollback to older versions - config.action_dispatch.use_authenticated_cookie_encryption = false end end |