diff --git a/src/pages/gen2/build-a-backend/auth/manage-mfa/index.mdx b/src/pages/gen2/build-a-backend/auth/manage-mfa/index.mdx index 553c0e654e3..209bf9b0e8e 100644 --- a/src/pages/gen2/build-a-backend/auth/manage-mfa/index.mdx +++ b/src/pages/gen2/build-a-backend/auth/manage-mfa/index.mdx @@ -33,10 +33,7 @@ export const auth = defineAuth({ }, + multifactor: { + mode: 'optional', -+ totp: true, -+ sms: { -+ message: (code) => `your MFA code is ${code}` -+ } ++ totp: true + } }); ```