From a62a3647a0bf74eabb5d7a64fcbe0ce3ca66575a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 11 Feb 2015 21:53:53 -0500 Subject: [PATCH] use uid, socket.uid is always 0 here --- src/socket.io/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/user.js b/src/socket.io/user.js index 5f844650a6..f2af4eeccd 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -107,7 +107,7 @@ SocketUser.reset.commit = function(socket, data, callback) { }); events.log({ type: 'password-reset', - uid: socket.uid, + uid: uid, ip: socket.ip }); callback();