diff --git a/apps/api/src/lib/auth.ts b/apps/api/src/lib/auth.ts index e2d84e811..b4394ed45 100644 --- a/apps/api/src/lib/auth.ts +++ b/apps/api/src/lib/auth.ts @@ -415,9 +415,6 @@ export const auth = betterAuth({ // types are not enabled, so they fall through and send nothing. if (type === "email-verification") { const tmpl = verifyOtpEmailTemplate(otp, { expiresMinutes: 10 }); -<<<<<<< HEAD - await sendMail({ to: email, ...tmpl }); -======= if (!(await sendMail({ to: email, ...tmpl }))) { throw new APIError("SERVICE_UNAVAILABLE", { message: @@ -425,7 +422,6 @@ export const auth = betterAuth({ "email transport. Configure SMTP in Settings → Email.", }); } ->>>>>>> a52e2566 (patch v0.6.6) return; } // Password reset. This replaced the link flow (`sendResetPassword` in the