mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
Add user.settings to blacklist
This commit is contained in:
parent
fb0f1df859
commit
ae068512db
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user