docs: imprvoe account linking docs

This commit is contained in:
Bereket Engida
2024-10-20 07:12:30 +03:00
parent 3962b5aec5
commit 6467af1685
3 changed files with 8 additions and 13 deletions

View File

@@ -38,6 +38,11 @@ export const auth = betterAuth({
},
sendOnSignUp: true,
},
account: {
accountLinking: {
trustedProviders: ["google", "github"],
},
},
emailAndPassword: {
enabled: true,
async sendResetPassword(user, url) {