mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closes #3870
This commit is contained in:
@@ -21,7 +21,13 @@ settingsController.get = function(req, res, callback) {
|
||||
var userData;
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
accountHelpers.getBaseUser(req.params.userslug, req.uid, next);
|
||||
user.getIPs(req.uid, 4, next);
|
||||
},
|
||||
function(ips, next) {
|
||||
accountHelpers.getBaseUser(req.params.userslug, req.uid, function(err, data) {
|
||||
data.ips = ips;
|
||||
next(err, data);
|
||||
});
|
||||
},
|
||||
function(_userData, next) {
|
||||
userData = _userData;
|
||||
|
||||
Reference in New Issue
Block a user