finalized password reset + code refactoring

This commit is contained in:
daniel31x13
2024-05-20 19:23:11 -04:00
parent 73dda21573
commit 329019b34e
12 changed files with 239 additions and 118 deletions
+2 -2
View File
@@ -34,11 +34,11 @@ export default async function sendPasswordResetRequest(
address: process.env.EMAIL_FROM as string,
},
to: email,
subject: "Verify your new Linkwarden email address",
subject: "Linkwarden: Reset password instructions",
html: emailTemplate({
user,
baseUrl: process.env.BASE_URL,
url: `${process.env.BASE_URL}/auth/password-reset?token=${token}`,
url: `${process.env.BASE_URL}/auth/reset-password?token=${token}`,
}),
});
}