Small email 2fa fix.

This commit is contained in:
Ylian Saint-Hilaire 2020-03-14 19:33:47 -07:00
parent f9b66d1db8
commit 471cdd5a11
2 changed files with 1 additions and 2 deletions

View File

@ -144,7 +144,6 @@ module.exports.CreateMeshMail = function (parent) {
var options = { email: email, servername: domain.title ? domain.title : 'MeshCentral', token: token }; var options = { email: email, servername: domain.title ? domain.title : 'MeshCentral', token: token };
// Send the email // Send the email
console.log(options);
obj.pendingMails.push({ to: email, from: parent.config.smtp.from, subject: mailReplacements(template.htmlSubject, domain, options), text: mailReplacements(template.txt, domain, options), html: mailReplacements(template.html, domain, options) }); obj.pendingMails.push({ to: email, from: parent.config.smtp.from, subject: mailReplacements(template.htmlSubject, domain, options), text: mailReplacements(template.txt, domain, options), html: mailReplacements(template.html, domain, options) });
sendNextMail(); sendNextMail();
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.5.0-f", "version": "0.5.0-g",
"keywords": [ "keywords": [
"Remote Management", "Remote Management",
"Intel AMT", "Intel AMT",