Add user.settings to blacklist

This commit is contained in:
Fabien O'Carroll 2014-04-07 17:27:52 +01:00
parent fb0f1df859
commit ae068512db

View File

@ -219,6 +219,9 @@ app.connect = function (callback) {
app.use(express.cookieParser(app.get('session secret') || generateSessionSecret()));
app.use(blacklistCookieSession({
blacklist: [
'user.settings'
],
key: 'jsbin',
cookie: {
maxAge: 365 * 24 * 60 * 60 * 1000,