Also use mailjet for password changes
This commit is contained in:
@ -82,6 +82,10 @@ export const sendVerificationEmail = async (user: {
|
||||
link,
|
||||
}
|
||||
|
||||
if (process.env.USE_MAILJET) {
|
||||
return sendWithMailJet(user.email, link)
|
||||
}
|
||||
|
||||
return sendEmail({
|
||||
from: env.sender.message,
|
||||
to: user.email,
|
||||
|
||||
Reference in New Issue
Block a user