Permalink
Browse files

remind user a good way to generate a secret code.

  • Loading branch information...
1 parent d168c1f commit 0d809f6129b866d57b2b6bbe84ea5ea4770a2acd @siong1987 siong1987 committed Aug 22, 2012
@@ -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 0d809f6

Please sign in to comment.