Skip to content

Node.js based forum software built for the modern web

fix lint

Julian Lam12524b5ce4b4
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);
};