Skip to content

Node.js based forum software built for the modern web

return the ips of the account we are looking at

Barış Soner Uşaklı71c697037d7d
diff --git a/src/controllers/accounts/settings.js b/src/controllers/accounts/settings.js
index 7028972491..0b180be686 100644
--- a/src/controllers/accounts/settings.js
+++ b/src/controllers/accounts/settings.js
@@ -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);