From 28361c9279ab182de5d03d3cb6209af017020163 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sat, 5 Feb 2011 11:15:48 -0800 Subject: [PATCH] Added secret to generated app --- bin/express | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/express b/bin/express index f9177ac0d6..408d0c275e 100755 --- a/bin/express +++ b/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