2012-04-10 13:31:21 +00:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2015-09-25 14:37:55 +00:00
|
|
|
#Rails.application.config.session_store :cookie_store, key: '_zammad_session'
|
2012-04-10 13:31:21 +00:00
|
|
|
|
|
|
|
# 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")
|
2015-09-25 14:37:55 +00:00
|
|
|
Rails.application.config.session_store :active_record_store, {
|
2015-04-27 13:42:53 +00:00
|
|
|
key: '_zammad_session_' + Digest::MD5.hexdigest(Rails.root.to_s).to_s[5..15]
|
2013-03-06 14:24:46 +00:00
|
|
|
}
|