summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/environments/test.rb2
-rw-r--r--lib/tasks/initializers.rake2
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