mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 11:51:43 +00:00
moves secret token into .env
This commit is contained in:
parent
38624da2ab
commit
b5d54ef4dd
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
APP_SECRET_TOKEN=REPLACE_ME_NOW!
|
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue