docs(basic-usage): use twoFactor.verifyTotp instead of verifyTOTP (#11794)

This commit is contained in:
Zeeshan
2026-10-20 18:42:44 +09:00
committed by GitHub
parent 2c32f84bf2
commit 2ad9350f99
+1 -1
View File
@@ -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