mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
changed max age to milliseconds
This commit is contained in:
@@ -71,7 +71,7 @@ var express = require('express'),
|
|||||||
secret: nconf.get('secret'),
|
secret: nconf.get('secret'),
|
||||||
key: 'express.sid',
|
key: 'express.sid',
|
||||||
cookie: {
|
cookie: {
|
||||||
maxAge: 60*60*24*30 // 30 days
|
maxAge: 60*60*24*30*1000 // 30 days
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
app.use(express.csrf());
|
app.use(express.csrf());
|
||||||
|
|||||||
Reference in New Issue
Block a user