fix(auth): defer 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
RESEND_API_KEY / SMTP credentials not yet configured in production. Users sign up + land in dashboard immediately, no verification email. Re-enable requireEmailVerification when email provider is live: packages/auth/src/server.ts:93
This commit is contained in:
@@ -90,7 +90,9 @@ export const auth = betterAuth({
|
||||
],
|
||||
emailAndPassword: {
|
||||
enabled: true,
|
||||
requireEmailVerification: 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,
|
||||
sendResetPassword: async ({ user, url }, request) =>
|
||||
sendEmail({
|
||||
to: user.email,
|
||||
|
||||
Reference in New Issue
Block a user