Project

General

Profile

Actions

Defect #12429

closed

Incorrect location of secret_token in the error message

Added by kuolai shu over 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Incorrect location of secret_token in the error message

I am using Rails 3.2.8, postgreSQL 9.2, ruby 1.9.3, and Windows XP
I started Redmine locally alright
Chrome (my browser) displayed Internal Error when I did http://127.0.0.1:3000/
My development.log says: Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb):

I cannot find secret_token.rb under config/initializers.
I do find a config/configuration.yml has a line #secret_token: 'change it to a long random string'
Uncommenting secret_token: did get my out of the error.

Q: Is config/configuration.yml the right place to define secret_token?
Q: Where is secret_token located at when we use command like "rake generate_secret_token" as in http://railsguides.net/2012/04/28/how-to-deploy-redmine-to-heroku/

Actions

Also available in: Atom PDF