Skip to content

Commit

Permalink
Fix session isssues (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-higgins1 authored and jfederico committed Aug 7, 2019
1 parent 6d6ac3e commit 921f252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions config/initializers/session_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

# Be sure to restart your server when you modify this file.

# The key base was updated as part of 2.3
if Rails.configuration.loadbalanced_configuration
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session',
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session',
domain: ENV['GREENLIGHT_SESSION_DOMAIN'] || 'blindside-dev.com'
else
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session'
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session'
end

0 comments on commit 921f252

Please sign in to comment.