mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05:00
Small email 2fa fix.
This commit is contained in:
parent
f9b66d1db8
commit
471cdd5a11
@ -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();
|
||||||
};
|
};
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user