small improvement

This commit is contained in:
daniel31x13
2024-05-17 03:15:18 -04:00
parent 90efec3c6e
commit f0621dac2e
2 changed files with 8 additions and 2 deletions
@@ -40,7 +40,10 @@ export default async function sendChangeEmailVerificationRequest(
const emailTemplate = Handlebars.compile(templateFile);
transporter.sendMail({
from: process.env.EMAIL_FROM,
from: {
name: "Linkwarden",
address: process.env.EMAIL_FROM as string,
},
to: newEmail,
subject: "Verify your new Linkwarden email address",
html: emailTemplate({