summaryrefslogtreecommitdiffstats
path: root/lib/tasks/initializers.rake
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-19 20:04:47 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-19 20:04:47 +0000
commit69d9600f48d8ca89458165bc059e3ce00b7527bf (patch)
treec93d9510c2f833ff42c275a44bb672afb204a66d /lib/tasks/initializers.rake
parent2562bc5bcd0c03320b4005c7a3d2a55795e9363a (diff)
downloadredmine-69d9600f48d8ca89458165bc059e3ce00b7527bf.tar.gz
redmine-69d9600f48d8ca89458165bc059e3ce00b7527bf.zip
Added documentation about the session_path. #3968
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3785 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/initializers.rake')
-rw-r--r--lib/tasks/initializers.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake
index ce8747504..cec557250 100644
--- a/lib/tasks/initializers.rake
+++ b/lib/tasks/initializers.rake
@@ -17,6 +17,13 @@ file 'config/initializers/session_store.rb' do
# you'll be exposed to dictionary attacks.
ActionController::Base.session = {
: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
+ #
+ # See: http://www.redmine.org/issues/3968
+ #
+ # :session_path => '/url_path_to/your/redmine/',
:secret => '#{secret}'
}
EOF