mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
feat: add support for typed additional fields on core tables (#123)
This commit is contained in:
@@ -43,14 +43,6 @@ export const auth = betterAuth({
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
phoneNumber({
|
||||
otp: {
|
||||
sendOTP(phoneNumber, code) {
|
||||
console.log(`Sending OTP to ${phoneNumber}: ${code}`);
|
||||
},
|
||||
sendOTPonSignUp: true,
|
||||
},
|
||||
}),
|
||||
organization({
|
||||
async sendInvitationEmail(data) {
|
||||
const res = await resend.emails.send({
|
||||
|
||||
Reference in New Issue
Block a user