refactor: change email should be opt-in (#249)

This commit is contained in:
Bereket Engida
2024-10-19 21:30:26 +03:00
committed by GitHub
parent 7c8b9191f3
commit 6ad3fad231
9 changed files with 86 additions and 64 deletions

View File

@@ -36,7 +36,7 @@ export const auth = betterAuth({
});
console.log(res, user.email);
},
sendEmailVerificationOnSignUp: true,
sendOnSignUp: true,
},
emailAndPassword: {
enabled: true,