summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2011-10-28 23:36:06 +0200
committerAlex Legler <a3li@gentoo.org>2011-10-28 23:36:06 +0200
commit0a1f4b350b68ac65153ba809819277642346a812 (patch)
treec847ff1a14d720047a23b86d5571dc09dc9454b1 /config
parentLet's call this GLSAMaker 2.0 \o/ (diff)
downloadglsamaker-0a1f4b350b68ac65153ba809819277642346a812.tar.gz
glsamaker-0a1f4b350b68ac65153ba809819277642346a812.tar.bz2
glsamaker-0a1f4b350b68ac65153ba809819277642346a812.zip
Drop secret_token.rb, set it in the local glsamaker config
Diffstat (limited to 'config')
-rw-r--r--config/initializers/glsamaker.rb.sample11
-rw-r--r--config/initializers/secret_token.rb7
2 files changed, 6 insertions, 12 deletions
diff --git a/config/initializers/glsamaker.rb.sample b/config/initializers/glsamaker.rb.sample
index 0872534..a2fb4a2 100644
--- a/config/initializers/glsamaker.rb.sample
+++ b/config/initializers/glsamaker.rb.sample
@@ -39,8 +39,9 @@ GLSAMAKER_BUGZIE_PW = nil
# Location of xmlindent(1)
GLSAMAKER_XMLINDENT = "/usr/bin/xmlindent"
-# Enabling exception notices
-#Glsamaker::Application.config.middleware.use ExceptionNotifier,
-# :email_prefix => "[GLSAMaker Error] ",
-# :sender_address => %{"GLSAMaker" <#{GLSAMAKER_FROM_EMAIL}>},
-# :exception_recipients => %w{GLSAMAKER_ADMIN_EMAIL} \ No newline at end of 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.
+# Yes, this is referencing an undefined variable on purpose.
+Glsamaker::Application.config.secret_token = i_forgot_to_set_this
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
deleted file mode 100644
index 697d8ce..0000000
--- a/config/initializers/secret_token.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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.
-Glsamaker::Application.config.secret_token = '1cda0326aacd7d0e7c9e2feec468ff86f4ade897c17a1bfe9f7b820457c4bc1eaf2888fcfe4baa48fbd4e7fd32bd20a8abbe6b4d681c56c561390003aabc6979'