Added a docs page to show option

This commit is contained in:
Jack Humphries
2025-11-03 16:45:56 +00:00
committed by GitHub
parent cf41761c29
commit a5601c39d5

View File

@@ -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.
*/