forked from apxtri/apxtri
update email noreply@smatchit.fr
This commit is contained in:
parent
cc0c9e7f5e
commit
c6f6b3272a
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user