mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-01 10:01:12 +01:00
feat: rename default express session key from express.sid to nodebb.sid
This commit is contained in:
@@ -86,7 +86,7 @@ function loadConfig(configFile) {
|
||||
|
||||
// nconf defaults, if not set in config
|
||||
if (!nconf.get('sessionKey')) {
|
||||
nconf.set('sessionKey', 'express.sid');
|
||||
nconf.set('sessionKey', 'nodebb.sid');
|
||||
}
|
||||
|
||||
if (nconf.get('url')) {
|
||||
|
||||
Reference in New Issue
Block a user