diff options
Diffstat (limited to 'guides/code/getting_started/config/initializers/secret_token.rb')
-rw-r--r-- | guides/code/getting_started/config/initializers/secret_token.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/guides/code/getting_started/config/initializers/secret_token.rb b/guides/code/getting_started/config/initializers/secret_token.rb new file mode 100644 index 0000000000..f36ebdda18 --- /dev/null +++ b/guides/code/getting_started/config/initializers/secret_token.rb @@ -0,0 +1,9 @@ +# Be sure to restart your server when you modify this file. + +# 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. +# Make sure your secret key is kept private +# if you're sharing your code publicly. +Blog::Application.config.secret_token = '685a9bf865b728c6549a191c90851c1b5ec41ecb60b9e94ad79dd3f824749798aa7b5e94431901960bee57809db0947b481570f7f13376b7ca190fa28099c459' |