From 5ae40dc72115cf0ec2de498b8205870643e7e004 Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Fri, 11 Apr 2025 10:10:34 +0300 Subject: [PATCH] docs(phone-number): remove unused api --- docs/content/docs/plugins/phone-number.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/docs/plugins/phone-number.mdx b/docs/content/docs/plugins/phone-number.mdx index fd77206036..bdf1d554ee 100644 --- a/docs/content/docs/plugins/phone-number.mdx +++ b/docs/content/docs/plugins/phone-number.mdx @@ -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