From 803a86a21d40dcc840d2b16134ba78dd2b905899 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 20 Feb 2013 20:32:32 -0500 Subject: [PATCH] Add more documentation to secret_token.rb --- config/initializers/secret_token.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 9635256f3fd..3d3d9a6c7a4 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -4,7 +4,9 @@ # however, the stock one should never be used in production, people will be able to crack # session cookies. # - +# Generate a new secret with "rake secret". Copy the output of that command and paste it +# in your secret_token.rb as the value of Discourse::Application.config.secret_token: +# # Discourse::Application.config.secret_token = "SET_SECRET_HERE" # delete all lines below in production