1
0
forked from apxtri/apxtri

remove public key in recovery email

This commit is contained in:
philc 2024-05-23 19:06:05 +02:00
parent 0151264143
commit 63c604b077

View File

@ -136,7 +136,14 @@ Pagans.sendmailkey = (data) => {
}
}
const tplemail = require(path.resolve(tplfile))
/*
Remove from attachments for less user confusing
{
filename:`${person.alias}_publickey.txt`,
content: person.publickey,
contentType:"text/plain"
},
*/
const maildata = {
from:tplemail.sender,
to: person.email,
@ -144,11 +151,6 @@ Pagans.sendmailkey = (data) => {
html: Mustache.render(tplemail.html, person),
text: Mustache.render(tplemail.text, person),
attachments: [
{
filename:`${person.alias}_publickey.txt`,
content: person.publickey,
contentType:"text/plain"
},
{
filename:`${person.alias}_privatekey.txt`,
content: person.privatekey,