Defect #3670
closedSVN repository: missing config/initializers/session_store.rb
0%
Description
Came across that while updating my redmin instance to svn revision 2824:
http://www.redmine.org/news/show/22 states:
A rake task was added to make this step easier. You just need to run the following command from your Redmine directory: rake config/initializers/session_store.rb
However, I couldn't find the file session_store.rb neither in my trunk checkout nor anywhere else in the Redmine SVN repository.
Am I overlooking something?
Just in case anyone else runs into that problem:
I resolved my problem by manually adding the line below to the file config/environemnt.rb. (That's what is supposed to be done by the rake command).
config.action_controller.session = {
:session_key => '_scotfurs_site_session',
:secret => 'abcdef...'
}
Updated by Mischa The Evil over 15 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Andreas Deininger wrote:
http://www.redmine.org/news/show/22 states:
[...]
However, I couldn't find the file session_store.rb neither in my trunk checkout nor anywhere else in the Redmine SVN repository.
Look at source:/trunk/lib/tasks/initializers.rake. If you run the command rake config/initializers/session_store.rb
the preceding rake-task generates the secret-key and writes it to the (automatically generated) ../config/initializers/session_store.rb-file.
Mischa.