diff --git a/docs/content/docs/plugins/2fa.mdx b/docs/content/docs/plugins/2fa.mdx index 27f727193e..fb4980763a 100644 --- a/docs/content/docs/plugins/2fa.mdx +++ b/docs/content/docs/plugins/2fa.mdx @@ -92,7 +92,11 @@ type enableTwoFactor = { /** * The user's password */ - password: string = "secure-password" + password: string = "secure-password", + /** + * Whether to enable the OTP method or TOTP method (uses the TOTP method by default) + */ + twoFactorMethod?: "otp" | "totp" = "totp", /** * An optional custom issuer for the TOTP URI. Defaults to app-name defined in your auth config. */