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