From 7c0b5fe40f0400a756a474848aa04d1bed6ba812 Mon Sep 17 00:00:00 2001 From: Pascal Dennerly Date: Wed, 30 May 2018 14:30:15 +0100 Subject: [PATCH] Make env template consistent with code (#1066) In `options.go` we look up the evnvironment variable from `.env` using the key `SESSION_SECRET`. This is different to the key used in the example generated from this template. --- generators/newapp/templates/dot-env.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/newapp/templates/dot-env.tmpl b/generators/newapp/templates/dot-env.tmpl index 3c1a10673..6dedde674 100644 --- a/generators/newapp/templates/dot-env.tmpl +++ b/generators/newapp/templates/dot-env.tmpl @@ -5,5 +5,5 @@ # # Example: # DATABASE_PASSWORD=XXXXXXXXX -# SESSIONS_SECRET=XXXXXXXXX +# SESSION_SECRET=XXXXXXXXX # SMTP_SERVER=XXXXXXXXX