Disable rack session cookie for sidekiq

Since 4.2.3 sidekiq allows to disable its own session cookie for the
case where the app provides a session already.

closes #7395
This commit is contained in:
Benjamin Neff 2017-03-26 00:29:23 +01:00 committed by Dennis Schubert
parent 7feed3545c
commit 35f4d61d11
No known key found for this signature in database
GPG key ID: 5A0304BEA7966D7E
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,7 @@
* Disable autocomplete for the conversation form recipient input [#7375](https://github.com/diaspora/diaspora/pull/7375)
* Fix sharing indicator on profile page for blocked users [#7382](https://github.com/diaspora/diaspora/pull/7382)
* Remove post only after a successful deletion on the server [#7385](https://github.com/diaspora/diaspora/pull/7385)
* Fix an issue where pod admins could get logged out when using sidekiq-web [#7395](https://github.com/diaspora/diaspora/pull/7395)
## Features
* Add links to liked and commented pages [#5502](https://github.com/diaspora/diaspora/pull/5502)

View file

@ -2,8 +2,9 @@
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require 'sidekiq/web'
require "sidekiq/web"
require "sidekiq/cron/web"
Sidekiq::Web.set :sessions, false # disable rack session cookie
Diaspora::Application.routes.draw do