mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
update environment.rb to avoid deprecation warning about session_key
This commit is contained in:
parent
f200739bb5
commit
111f6059f4
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ Rails::Initializer.run do |config|
|
||||||
config.action_controller.session_store = :active_record_store
|
config.action_controller.session_store = :active_record_store
|
||||||
|
|
||||||
config.action_controller.session = {
|
config.action_controller.session = {
|
||||||
:session_key => '_tracks_session_id',
|
:key => '_tracks_session_id',
|
||||||
:secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil #must be at least 30 characters
|
:secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil #must be at least 30 characters
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue