Skip to content

Commit cf821b4

Browse files
committed
disable welcome email
1 parent 23d291d commit cf821b4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/lib/auth.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,13 @@ export const auth = betterAuth({
279279
// no need to send welcome email
280280
return false;
281281
}
282-
await sendEmail({
283-
to: newSession.user.email,
284-
template: "welcome",
285-
props: {
286-
name: newSession.user.name,
287-
},
288-
});
282+
// await sendEmail({
283+
// to: newSession.user.email,
284+
// template: "welcome",
285+
// props: {
286+
// name: newSession.user.name,
287+
// },
288+
// });
289289
return;
290290
}
291291
}

0 commit comments

Comments
 (0)