summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-14 15:14:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-14 15:14:19 +0000
commitc4a218358f499b6252874b8260ffa475fd7be3d7 (patch)
treed939fabbd51afd6d73e5029114ec8715e33f7af0
parentd7cdd58db6b89711dcd38767093751aa09f19f79 (diff)
downloadredmine-c4a218358f499b6252874b8260ffa475fd7be3d7.tar.gz
redmine-c4a218358f499b6252874b8260ffa475fd7be3d7.zip
Replaced SessionStore :session_key with :key (#6887).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4405 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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