Browse files

Added secret to generated app

  • Loading branch information...
1 parent 82e15cf commit 28361c9279ab182de5d03d3cb6209af017020163 @tj tj committed Feb 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/express
View
2 bin/express
@@ -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

0 comments on commit 28361c9

Please sign in to comment.