Project

General

Profile

Where to add this line?

Added by Cristian Maldonado over 11 years ago

I need help, with this line.
I'm new and I need to find the place and will document this line

config.action_controller.session = { :key => "_myapp_session", :secret => "some secret phrase" }

I know it goes in the "environment.rb", but do not know what part of that file

I need urgent help


Replies (1)

RE: Where to add this line? - Added by Jan Niggemann (redmine.org team member) over 11 years ago

Please don't crosspost!

Quoting from your ticket #12890:

You should not have to add manually this line, it should be written located in config/initializers/secret_token.rb which is generated by running the rake generate_secret_token task (see RedmineInstall).

    (1-1/1)