Two-factor login

Pre-built two-factor login page for Accelerator projects.

Install

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

npx acc-nuxt add TwoFactorLogin

Two-factor login form

The form and its authentication logic live in a standalone TwoFactorLoginForm block (AcceleratorBlocksTwoFactorLoginForm), 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%