Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-08-05 09:51:15 +0300
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-08-13 00:43:17 +0300
commitd470f429fb84fc02a7105de99225a93c5345b3f2 (patch)
treef05d9def15407cb01950ad819b1fa35ce03a83fa /config/application.rb
parent975763607443fad50e192411ad1da06ebb2ff532 (diff)
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.rb5
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