Commit 61ffa04d authored by Sean McGivern's avatar Sean McGivern

Merge branch 'sh-disable-sidekiq-session' into 'master'

Disable the Sidekiq Admin Rack session

See merge request gitlab-org/gitlab-ce!21441
parents de4c76bb 4442972b
---
title: Disable the Sidekiq Admin Rack session
merge_request: 21441
author:
type: security
require 'sidekiq/web'
# Disable the Sidekiq Rack session since GitLab already has its own session store.
# CSRF protection still works (https://github.com/mperham/sidekiq/commit/315504e766c4fd88a29b7772169060afc4c40329).
Sidekiq::Web.set :sessions, false
# Custom Queues configuration
queues_config_hash = Gitlab::Redis::Queues.params
queues_config_hash[:namespace] = Gitlab::Redis::Queues::SIDEKIQ_NAMESPACE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment