From c6f6b3272afcf1eb2cb0a57530c082f68d71ed82 Mon Sep 17 00:00:00 2001 From: philc Date: Fri, 22 Mar 2024 22:09:20 +0100 Subject: [PATCH] update email noreply@smatchit.fr --- models/Pagans.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/models/Pagans.js b/models/Pagans.js index 6a10eac..a2bff21 100644 --- a/models/Pagans.js +++ b/models/Pagans.js @@ -123,9 +123,6 @@ Pagans.sendmailkey = (data) => { person.publickey = data.publickey; } person.avecpassphrase=(person.passphrase!="") - console.log("person:", person); - - console.log(path.resolve(`../../${data.tribe}/template/createidentity_${data.lg}.js`)) let tplfile=`../../${data.tribe}/template/createidentity_${data.lg}.js`; if (!fs.existsSync(tplfile)){ tplfile=`../template/createidentity_${data.lg}.js`; @@ -141,6 +138,7 @@ Pagans.sendmailkey = (data) => { const tplemail = require(path.resolve(tplfile)) const maildata = { + from:tplemail.sender, to: person.email, subject: Mustache.render(tplemail.subject, person), html: Mustache.render(tplemail.html, person),