2FA recovery codes Recovery codes let you regain access if you lose your 2FA device. Store them in a secure password manager.
{#if isRecoveryCodesVisible && twoFactorAuth.state.recoveryCodesList.length}
twoFactorAuth.fetchRecoveryCodes()} > {#snippet children({ processing })} {/snippet}
{/if}
{#if twoFactorAuth.state.errors.length}
{:else}
{#if !twoFactorAuth.state.recoveryCodesList.length}
{#each { length: 8 } as _, n (n)}
{/each}
{:else} {#each twoFactorAuth.state.recoveryCodesList as code, index (index)}
{code}
{/each} {/if}

Each recovery code can be used once to access your account and will be removed after use. If you need more, click Regenerate codes above.

{/if}