Skip to content

Commit

Permalink
Added secret to generated app
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 5, 2011
1 parent 82e15cf commit 28361c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/express
Expand Up @@ -321,7 +321,7 @@ function createApplicationAt(path) {

// Session support
app = app.replace(':SESS', sessions
? '\n app.use(express.cookieDecoder());\n app.use(express.session());'
? '\n app.use(express.cookieDecoder());\n app.use(express.session({ secret: \'your secret here\' }));'
: '');

// Template support
Expand Down

0 comments on commit 28361c9

Please sign in to comment.