From c4a218358f499b6252874b8260ffa475fd7be3d7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 14 Nov 2010 15:14:19 +0000 Subject: [PATCH] Replaced SessionStore :session_key with :key (#6887). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4405 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/environments/test.rb | 2 +- lib/tasks/initializers.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 5f2b027ef..79ee6af96 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -17,7 +17,7 @@ config.action_mailer.perform_deliveries = true config.action_mailer.delivery_method = :test config.action_controller.session = { - :session_key => "_test_session", + :key => "_test_session", :secret => "some secret phrase for the tests." } diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake index cec557250..3d4a40205 100644 --- a/lib/tasks/initializers.rake +++ b/lib/tasks/initializers.rake @@ -16,7 +16,7 @@ file 'config/initializers/session_store.rb' do # secret is at least 30 characters and all random, no regular words or # you'll be exposed to dictionary attacks. ActionController::Base.session = { - :session_key => '_redmine_session', + :key => '_redmine_session', # # Uncomment and edit the :session_path below if are hosting your Redmine # at a suburi and don't want the top level path to access the cookies -- 2.39.5