diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 10:47:33 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 10:47:33 +0200 |
commit | 69651125efce0ebca6c96a0ff3b0534d170e12e4 (patch) | |
tree | c2fd569e660782fe2825f573becfd54511835289 /config/express.js | |
parent | added new logo with BLUEDUDE (diff) | |
download | Divid-69651125efce0ebca6c96a0ff3b0534d170e12e4.tar.gz |
moved session secret to config file
Diffstat (limited to '')
-rw-r--r-- | config/express.js | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |