Skip to content
This repository
Browse code

Advise to keep secret token private

  • Loading branch information...
commit 6c93fbc516f85fa59fa165f130872d02262f4a28 1 parent 0b36ad7
Filipe Moreira authored March 12, 2012
2  railties/guides/code/getting_started/config/initializers/secret_token.rb
@@ -4,4 +4,6 @@
4 4
 # If you change this key, all old signed cookies will become invalid!
5 5
 # Make sure the secret is at least 30 characters and all random,
6 6
 # no regular words or you'll be exposed to dictionary attacks.
  7
+# Make sure your secret key is kept private
  8
+# if you're sharing your code publicly.
7 9
 Blog::Application.config.secret_token = '685a9bf865b728c6549a191c90851c1b5ec41ecb60b9e94ad79dd3f824749798aa7b5e94431901960bee57809db0947b481570f7f13376b7ca190fa28099c459'

0 notes on commit 6c93fbc

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