diff --git a/src/socket.io/user.js b/src/socket.io/user.js index b1e1512526..b77a108240 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -97,6 +97,7 @@ SocketUser.reset.commit = function(socket, data, callback) { uid: socket.uid, ip: socket.ip }); + callback(); }); } }; @@ -137,6 +138,7 @@ SocketUser.changePassword = function(socket, data, callback) { targetUid: data.uid, ip: socket.ip }); + callback(); }); };