test/dummy/config/initializers/secret_token.rb in ads-rails-0.0.4 vs test/dummy/config/initializers/secret_token.rb in ads-rails-0.0.5
- old
+ new
@@ -1,7 +1,12 @@
# Be sure to restart your server when you modify this file.
-# Your secret key for verifying the integrity of signed cookies.
+# Your secret key is used 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.
-Dummy::Application.config.secret_token = '7bf78955d5de7cd2bce59c9629833b9df43b9bce8d56aaa15b62e1563421e7eba942f2e3c43964113ea00df4fd5931bdd3fc7b7bf9a289e18563c261fe5f3366'
+# You can use `rake secret` to generate a secure secret key.
+
+# Make sure your secret_key_base is kept private
+# if you're sharing your code publicly.
+Dummy::Application.config.secret_key_base = '3761e5818ce76ffc66003c18a54f10ea508328bda385c5de7987bdd89e1bb990ba0545c71a3015102055064b9a6ed06d46424758b3bb60ff243eaea584a5657f'