mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-19 17:49:57 +02:00
closes #2304
This commit is contained in:
@@ -78,7 +78,7 @@ apiController.loadConfig = function (req, callback) {
|
||||
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
if (!req.uid) {
|
||||
if (!req.loggedIn) {
|
||||
return next(null, config);
|
||||
}
|
||||
user.getSettings(req.uid, next);
|
||||
|
||||
Reference in New Issue
Block a user