summaryrefslogtreecommitdiff
path: root/config/initializers/secret_token.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/secret_token.rb')
-rw-r--r--config/initializers/secret_token.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
new file mode 100644
index 0000000..8e4488b
--- /dev/null
+++ b/config/initializers/secret_token.rb
@@ -0,0 +1,12 @@
+# Be sure to restart your server when you modify this file.
+
+# 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.
+# 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.
+Hfw::Application.config.secret_key_base = 'a2318a6db657da745ebd3835bb24b8cc787cd912caaf5935adc6a92d127cabafa9b745b9b875d92407b404e5d7193c7395aa4de36da3ba17e179adb8c12c5ebc'