forked from apxtri/apxtri
remove public key in recovery email
This commit is contained in:
parent
0151264143
commit
63c604b077
@ -136,7 +136,14 @@ Pagans.sendmailkey = (data) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const tplemail = require(path.resolve(tplfile))
|
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 = {
|
const maildata = {
|
||||||
from:tplemail.sender,
|
from:tplemail.sender,
|
||||||
to: person.email,
|
to: person.email,
|
||||||
@ -144,11 +151,6 @@ Pagans.sendmailkey = (data) => {
|
|||||||
html: Mustache.render(tplemail.html, person),
|
html: Mustache.render(tplemail.html, person),
|
||||||
text: Mustache.render(tplemail.text, person),
|
text: Mustache.render(tplemail.text, person),
|
||||||
attachments: [
|
attachments: [
|
||||||
{
|
|
||||||
filename:`${person.alias}_publickey.txt`,
|
|
||||||
content: person.publickey,
|
|
||||||
contentType:"text/plain"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
filename:`${person.alias}_privatekey.txt`,
|
filename:`${person.alias}_privatekey.txt`,
|
||||||
content: person.privatekey,
|
content: person.privatekey,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user