diff --git a/config/environments/test.rb b/config/environments/test.rb index 5f2b027..79ee6af 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 cec5572..3d4a402 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