mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
using nconf to manage config file now (issue #24)
This commit is contained in:
@@ -140,10 +140,10 @@
|
||||
req.login({
|
||||
uid: uid
|
||||
}, function() {
|
||||
res.redirect(global.config.relative_path + '/');
|
||||
res.redirect(global.nconf.get('relative_path') + '/');
|
||||
});
|
||||
} else {
|
||||
res.redirect(global.config.relative_path + '/register');
|
||||
res.redirect(global.nconf.get('relative_path') + '/register');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user