Browse files

Merge pull request #7413 from siong1987/secret_token

Remind user a good way to generate a secret code [ci skip]
  • Loading branch information...
carlosantoniodasilva committed Aug 22, 2012
2 parents d168c1f + 0d809f6 commit d850fdf5667f4e6a661531d48780c30ec46267f9
@@ -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 %>'

0 comments on commit d850fdf

Please sign in to comment.