Two-factor setup

Pre-built two-factor authentication setup page for Accelerator projects.

Install

Run the following command to install the two-factor setup page:

npx acc-nuxt add TwoFactorSetup

Two-factor setup form

The form and its authentication logic live in a standalone TwoFactorSetupForm block (AcceleratorBlocksTwoFactorSetupForm), which the page renders inside its card. It is wired up to the useAccAuth composable and works out of the box. Use the block on its own if you want a different page layout around the form.

100%

Setting up two-factor authentication…