Two Factor Authentication

Pace comes with two-factor authentication out of the box. Users of your application can enable two-factor authentication using authenticator apps to add an additional level of security to their account. Once enabled, they will be prompted to enter the authentication code from their authenticator app anytime they try to log in to their accounts.

Also, users can disable two-factor authentication.

Disabling two-factor authentication

If two-factor authentication doesn't apply to your application, you can disable it in config/pace.ts:

 auth: {
    twoFactorAuth: false,
 }