Feature #11866

Adds an option to regenerate secret.rb

Added by Dominik Appl about 10 years ago. Updated about 10 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Accounts / authentication
Target version:-
Resolution:

Description

I wanted to have two instances of redmine and simply copied the directory. I called

rake generate_secret_token

in both instances, but it turned out, that i was automatically logged in into both instances. This was because the secret.rb file was not updated during regeneration, because the file already exists! There should at least be a warning or error message if the generation failed.

History

#1 Updated by Jean-Philippe Lang about 10 years ago

  • Tracker changed from Defect to Feature
  • Subject changed from secret.rb does not get regenerated to Adds an option to regenerate secret.rb

Also available in: Atom PDF