mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
return the ips of the account we are looking at
This commit is contained in:
@@ -42,7 +42,7 @@ settingsController.get = function(req, res, callback) {
|
||||
getHomePageRoutes(next);
|
||||
},
|
||||
ips: function (next) {
|
||||
user.getIPs(req.uid, 4, next);
|
||||
user.getIPs(userData.uid, 4, next);
|
||||
},
|
||||
sessions: async.apply(user.auth.getSessions, userData.uid, req.sessionID)
|
||||
}, next);
|
||||
|
||||
Reference in New Issue
Block a user