diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 64ed9fe58..eee49a519 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -5,4 +5,6 @@ # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rails generate session_migration") -Zammad::Application.config.session_store :active_record_store +Zammad::Application.config.session_store :active_record_store, { + :key => '_zammad_session_' + Digest::MD5.hexdigest(Rails.root.to_s).to_s[5..15] +}