dummy/config/initializers/secret_token.rb in dailycred-0.1.461 vs dummy/config/initializers/secret_token.rb in dailycred-0.2.0
- 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.
# 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 = 'a05292890fc8c9b3b30d4a6cc1bf8374a9d030eb685847211d0624ab218c359ba562ecefee793801d92df8326bdf4938c74e57e6a224e469f0af0b382b4fdb44'
+# 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 = 'cb5a0759593cd5f1cb9802a3c05fb35cd7348e8b867a69136addced11ff4763bc78da24db0b3e9d0fefd8696dc35de025090e9800b992b33d68ee2afcaf1895f'