aboutsummaryrefslogtreecommitdiffstats
path: root/config/initializers/secret_token.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-12-09 16:42:02 +1100
committerHenare Degan <henare.degan@gmail.com>2012-12-11 11:08:19 +1100
commit8b1526a48af9e3e48d1f1154ab0a9a928c52a19a (patch)
treedf7d5e9a70b0b868c6feb8c74ff1c9968c5547e6 /config/initializers/secret_token.rb
parent7a3638128b6dd67111b7d471b19e59f5d838cee0 (diff)
Run the Rails 3 generator
Diffstat (limited to 'config/initializers/secret_token.rb')
-rw-r--r--config/initializers/secret_token.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
new file mode 100644
index 000000000..5277e8927
--- /dev/null
+++ b/config/initializers/secret_token.rb
@@ -0,0 +1,7 @@
+# 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.
+Alaveteli::Application.config.secret_token = Configuration::cookie_store_session_secret