diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/glsamaker.rb.sample | 11 | ||||
-rw-r--r-- | config/initializers/secret_token.rb | 7 |
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' |