fixed reset password email mechanism

This commit is contained in:
2024-08-02 12:38:11 +08:00
parent bbb5d260bb
commit cc84eedbff

View File

@@ -240,8 +240,6 @@ async function sendPasswordResetEmail(email, firstName, resetToken) {
);
}
module.exports = { sendPasswordResetEmail };
async function sendThankYouEmail(recipientEmail, firstName) {
let dateTimeNow = new Date().toLocaleString();
let emailContent = `
@@ -443,4 +441,4 @@ async function sendThankYouEmail(recipientEmail, firstName) {
);
}
module.exports = { sendThankYouEmail };
module.exports = { sendPasswordResetEmail, sendThankYouEmail };