Quellcode durchsuchen

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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4405 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.1.0
Jean-Philippe Lang vor 13 Jahren
Ursprung
Commit
c4a218358f
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1
    1
      config/environments/test.rb
  2. 1
    1
      lib/tasks/initializers.rake

+ 1
- 1
config/environments/test.rb Datei anzeigen

@@ -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."
}


+ 1
- 1
lib/tasks/initializers.rake Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern