From 12524b5ce4b4112e7a49f4c6a202e796f398056a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 30 May 2017 13:17:26 -0400 Subject: [PATCH] fix lint --- 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 b9cd70552b..d59fad3c58 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -75,7 +75,7 @@ SocketUser.emailConfirm = function (socket, data, callback) { return callback(new Error('[[error:email-confirmations-are-disabled]]')); } - user.email.sendValidationEmail(socket.uid, next); + user.email.sendValidationEmail(socket.uid, callback); };