return the ips of the account we are looking at

This commit is contained in:
Barış Soner Uşaklı
2016-03-14 22:10:02 +02:00
parent 1a669cb5fb
commit 71c697037d

View File

@@ -42,7 +42,7 @@ settingsController.get = function(req, res, callback) {
getHomePageRoutes(next); getHomePageRoutes(next);
}, },
ips: function (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) sessions: async.apply(user.auth.getSessions, userData.uid, req.sessionID)
}, next); }, next);