summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-11 12:28:35 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-11 12:28:35 +0100
commita742a9038210691169b407c2897a38ded8618f84 (patch)
tree5fa189ef16a19929519cc831089c0fe212297eab /config
parentb65c9f21c97371b6fbdeeae2e44f4111313b4337 (diff)
Generate a secret_token (for signed cookies).
Diffstat (limited to 'config')
-rw-r--r--config/initializers/secret_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
index 6f04f07..ecd511c 100644
--- a/config/initializers/secret_token.rb
+++ b/config/initializers/secret_token.rb
@@ -4,4 +4,4 @@
# 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.
-Gemeinschaft42c::Application.config.secret_token = '9a59cac7fe4b23e0253a7beb341d9498d721923e966b45983f441f991e81f758067a6d9a949247d489773288284ab96b5015be52bf7b2834e666d43f864034e4'
+Gemeinschaft42c::Application.config.secret_token = GsParameter.get('SECRET_TOKEN')