Skip to content
Snippets Groups Projects
Commit c4a21835 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Replaced SessionStore :session_key with :key (#6887).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4405 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d7cdd58d
No related merge requests found
...@@ -17,7 +17,7 @@ config.action_mailer.perform_deliveries = true ...@@ -17,7 +17,7 @@ config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :test config.action_mailer.delivery_method = :test
config.action_controller.session = { config.action_controller.session = {
:session_key => "_test_session", :key => "_test_session",
:secret => "some secret phrase for the tests." :secret => "some secret phrase for the tests."
} }
......
...@@ -16,7 +16,7 @@ file 'config/initializers/session_store.rb' do ...@@ -16,7 +16,7 @@ file 'config/initializers/session_store.rb' do
# secret is at least 30 characters and all random, no regular words or # secret is at least 30 characters and all random, no regular words or
# you'll be exposed to dictionary attacks. # you'll be exposed to dictionary attacks.
ActionController::Base.session = { ActionController::Base.session = {
:session_key => '_redmine_session', :key => '_redmine_session',
# #
# Uncomment and edit the :session_path below if are hosting your Redmine # 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 # at a suburi and don't want the top level path to access the cookies
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment