moves secret token into .env

This commit is contained in:
Robert Whitney 2013-03-28 15:49:29 -04:00
parent 38624da2ab
commit b5d54ef4dd
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
APP_SECRET_TOKEN=REPLACE_ME_NOW!

View file

@ -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.
Huginn::Application.config.secret_token = 'REPLACE_ME_NOW!'
Huginn::Application.config.secret_token = ENV['APP_SECRET_TOKEN']