v1.18.x
Julian Lam 8 years ago
parent d2b5b53cb4
commit 12524b5ce4

@ -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);
};

Loading…
Cancel
Save