Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Make env template consistent with code (#1066)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dnnrly authored and markbates committed May 30, 2018
1 parent 4297c7d commit 7c0b5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/newapp/templates/dot-env.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
#
# Example:
# DATABASE_PASSWORD=XXXXXXXXX
# SESSIONS_SECRET=XXXXXXXXX
# SESSION_SECRET=XXXXXXXXX
# SMTP_SERVER=XXXXXXXXX

0 comments on commit 7c0b5fe

Please sign in to comment.