From 2ad9350f990c0ffbbec88e577e72ee4fe9b57e6a Mon Sep 17 00:00:00 2001 From: Zeeshan Date: Tue, 20 Oct 2026 14:42:44 +0500 Subject: [PATCH] docs(basic-usage): use twoFactor.verifyTotp instead of verifyTOTP (#11794) --- docs/content/docs/basic-usage.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/basic-usage.mdx b/docs/content/docs/basic-usage.mdx index 80306ad2de..b5cad866cd 100644 --- a/docs/content/docs/basic-usage.mdx +++ b/docs/content/docs/basic-usage.mdx @@ -491,7 +491,7 @@ Below is an example of how to add two factor authentication using two factor plu } const verifyTOTP = async() => { - const data = await authClient.twoFactor.verifyTOTP({ + const data = await authClient.twoFactor.verifyTotp({ code: "123456", // the code entered by the user /** * If the device is trusted, the user won't