This commit is contained in:
barisusakli
2014-11-28 15:49:16 -05:00
parent 6760ce00cc
commit f9405c0423
6 changed files with 39 additions and 23 deletions

View File

@@ -66,7 +66,7 @@ SocketUser.search = function(socket, username, callback) {
if (!socket.uid) {
return callback(new Error('[[error:not-logged-in]]'));
}
user.search(username, callback);
user.search(username, 'username', callback);
};
// Password Reset