提交 d850fdf5 编写于 作者: C Carlos Antonio da Silva

Merge pull request #7413 from siong1987/secret_token

Remind user a good way to generate a secret code [ci skip]
......@@ -2,8 +2,11 @@
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can generate a safe secret key with the command `rake secret`.
# Make sure your secret_token is kept private
# if you're sharing your code publicly.
<%= app_const %>.config.secret_token = '<%= app_secret %>'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册