test/dummy/config/initializers/secret_token.rb in current_user-0.2.0 vs test/dummy/config/initializers/secret_token.rb in current_user-0.2.1
- 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 = '2ce8f6a3d38fc6a2802a532219276f70af7dc1d3986768a8d7996deba0347a1bf6c3eda6f082b007668f669dd0801930b0e809c854528921b6bfcd33e0b7d8d8'
+# 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 = 'c2d62210327b2b9a7536773cbb2670dcb281d883124aa44e9991af00516c9c2dc47be759d02ea8c73736d260ba8f0bb377b7770dcd216c375c6f09ca2c1fe494'