mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Add more documentation to secret_token.rb
This commit is contained in:
parent
26e1cfd12c
commit
803a86a21d
@ -4,7 +4,9 @@
|
|||||||
# however, the stock one should never be used in production, people will be able to crack
|
# however, the stock one should never be used in production, people will be able to crack
|
||||||
# session cookies.
|
# 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"
|
# Discourse::Application.config.secret_token = "SET_SECRET_HERE"
|
||||||
|
|
||||||
# delete all lines below in production
|
# delete all lines below in production
|
||||||
|
Loading…
Reference in New Issue
Block a user