mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-27 09:32:20 -05:00
docs(phone-number): remove unused api
This commit is contained in:
@@ -183,7 +183,6 @@ const isVerified = await authClient.phoneNumber.resetPassword({
|
||||
|
||||
- `otpLength`: The length of the OTP code to be generated. Default is `6`.
|
||||
- `sendOTP`: A function that sends the OTP code to the user's phone number. It takes the phone number and the OTP code as arguments.
|
||||
- `verifyOTP`: A custom function to verify the OTP code. It takes the phone number and the OTP code as arguments and returns a boolean indicating whether the code is valid.
|
||||
- `expiresIn`: The time in seconds after which the OTP code expires. Default is `300` seconds.
|
||||
- `callbackOnVerification`: A function that is called after the phone number is verified. It takes the phone number and the user object as the first argument and a request object as the second argument.
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user