Skip to content

Commit

Permalink
fix(server): use secret env var by default
Browse files Browse the repository at this point in the history
  • Loading branch information
balthazar committed Mar 30, 2015
1 parent db9db05 commit 5b0593f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/server/config/environment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var all = {
}<% } %><% if (filters.auth) { %>,

secrets: {
session: 'zavatta' || process.env.SESSION_SECRET
session: process.env.SESSION_SECRET || 'secretKey'
}<% } %>
};

Expand Down

0 comments on commit 5b0593f

Please sign in to comment.