Skip to content

Commit 0566434

Browse files
fix(mail): remove quotes around email in verification and password reset email headers
1 parent 269d32e commit 0566434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/mail.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function sendVerificationEmail(email: string, token: string) {
1111
to: email,
1212
subject: 'Verify your email address',
1313
html: `
14-
<h1>Verify your email address "${email}"</h1>
14+
<h1>Verify your email address ${email}</h1>
1515
<p>Click the link below to verify your email address</p>
1616
<a href="${link}">Verify email</a>
1717
`
@@ -26,7 +26,7 @@ export async function sendPasswordResetEmail(email: string, token: string) {
2626
to: email,
2727
subject: 'Reset your password',
2828
html: `
29-
<h1>You have requested to reset your password for "${email}"</h1>
29+
<h1>You have requested to reset your password for ${email}</h1>
3030
<p>Click the link below to reset password</p>
3131
<a href="${link}">Reset password</a>
3232
`

0 commit comments

Comments
 (0)