mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Also use mailjet for reset password emails
This commit is contained in:
parent
f794cf707a
commit
3c1abb964b
1 changed files with 4 additions and 0 deletions
|
|
@ -104,6 +104,10 @@ export const sendPasswordResetEmail = async (user: {
|
|||
link,
|
||||
}
|
||||
|
||||
if (process.env.USE_MAILJET) {
|
||||
return sendWithMailJet(user.email, link)
|
||||
}
|
||||
|
||||
return sendEmail({
|
||||
from: env.sender.message,
|
||||
to: user.email,
|
||||
|
|
|
|||
Loading…
Reference in a new issue