feat(auth): enable postmark email verification for v0.1.0 launch
Some checks failed
CI / Tests / 🧪 Test (push) Has been cancelled
Some checks failed
CI / Tests / 🧪 Test (push) Has been cancelled
- switch email provider from resend (unused) to postmark (creds available) - re-enable requireEmailVerification now that email path works - env vars POSTMARK_API_KEY + EMAIL_FROM must be set in Coolify
This commit is contained in:
@@ -90,9 +90,7 @@ export const auth = betterAuth({
|
||||
],
|
||||
emailAndPassword: {
|
||||
enabled: true,
|
||||
// v0.1.0: email verification DEFERRED until RESEND_API_KEY / SMTP wired.
|
||||
// Users sign up and land in dashboard immediately. Re-enable when email provider is live.
|
||||
requireEmailVerification: false,
|
||||
requireEmailVerification: true,
|
||||
sendResetPassword: async ({ user, url }, request) =>
|
||||
sendEmail({
|
||||
to: user.email,
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { send } from "./resend";
|
||||
export { send } from "./postmark";
|
||||
|
||||
Reference in New Issue
Block a user