spec/dummy/config/initializers/secret_token.rb in sketchily-1.5.0 vs spec/dummy/config/initializers/secret_token.rb in sketchily-4.0.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.
+# 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 = '655407b6e97a8b7441108a6bf2091a8b12465306ba97cab30481ad06def3a81a9790bf0da616ea1a05efe23e5b7d2ede704f411ea1732a476ac3dfc208e1f391'
+# 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 = 'dummy'