diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-05-07 09:27:37 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-05-07 09:27:37 +0200 |
commit | 7161d6293b83f359646814f2e1cdfa02e6162c2a (patch) | |
tree | 35bcb16300d1664dda1d1518e26de92003891c0e /app.js | |
parent | 0f8958fbc90d227aee3714d7c8f6be30bae2e58e (diff) | |
download | n-7161d6293b83f359646814f2e1cdfa02e6162c2a.tar.gz |
Move session key to config
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ mongoose.connection.on('error', function(err) { // persistence (for sessions) app.use(session({ - secret: 'Very secret', + secret: config.session_secret, store: new MongoStore({ mongooseConnection: mongoose.connection }), name: 'rvssid', saveUninitialized: false, |