use general sender for confirmation email

This commit is contained in:
Hongbo Wu
2022-07-20 22:54:22 +08:00
committed by Jackson Harper
parent d108806234
commit d187c6c993

View File

@ -100,7 +100,7 @@ export const createUser = async (input: {
const confirmationLink = `${env.client.url}/confirm-email/${confirmationToken}`
// send email
const sent = await sendEmail({
from: env.sender.message,
from: env.sender.general,
to: user.email,
subject: 'Confirm your email',
text: `Please confirm your email by clicking the link below:\n\n${confirmationLink}\n\n`,