Skip to content

Node.js based forum software built for the modern web

log user ip register

barisusaklidde872d6d536
diff --git a/src/routes/authentication.js b/src/routes/authentication.js
index 604acd0440..59896ca2b3 100644
--- a/src/routes/authentication.js
+++ b/src/routes/authentication.js
@@ -89,6 +89,7 @@
req.login({
uid: uid
}, function() {
+ user.logIP(uid, req.ip);
require('../socket.io').emitUserCount();