From 5e4028b48bb4f42f394c91fb84b2cdfd3a02927a Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 9 Sep 2023 18:48:35 +0200 Subject: [PATCH] Updated the account.ts controller --- src/controller/account.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/account.ts b/src/controller/account.ts index a2b34fd..747d19b 100644 --- a/src/controller/account.ts +++ b/src/controller/account.ts @@ -14,7 +14,8 @@ export const sendVerificationEmail = async (email: string, code: number, id: str sendMail({ to: email, subject: "LicenseAPI Verifizierungscode", - text: `Dein LicenseAPI Code: ${code}. Deine User-ID: ${id}`, + html: `

Dein Verifizierungscode lautet: ${code}

Verifiziere dich unter https://dash.licenseapi.de/verify/${code}/${id}

`, + text: `Dein Verifizierungscode lautet: ${code}\nVerifiziere dich unter https://dash.licenseapi.de/verify/${code}/${id}` }); };