Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Advise to keep secret token private

  • Loading branch information...
commit 0b36ad706667b95eee444f1b9272f59c0495d724 1 parent 78954ac
@filipeamoreira filipeamoreira authored
2  railties/lib/rails/generators/rails/app/templates/config/initializers/
@@ -4,4 +4,6 @@
# 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.
+# 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 0b36ad7

Please sign in to comment.
Something went wrong with that request. Please try again.