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