From 69651125efce0ebca6c96a0ff3b0534d170e12e4 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sun, 26 May 2013 10:47:33 +0200 Subject: moved session secret to config file --- config/express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/express.js') diff --git a/config/express.js b/config/express.js index 4c09b17..c35a0d8 100644 --- a/config/express.js +++ b/config/express.js @@ -30,7 +30,7 @@ module.exports = function (app, config, passport) { app.use(express.methodOverride()); - app.use(express.session({ secret: 'lsdrghoi4hgqio42nqf2uqi32f3bilu23fl23b' })); + app.use(express.session({ secret: config.sessionSecret })); // use passport session app.use(passport.initialize()); -- cgit v1.2.3