{$t('settings.enable_mfa')}

{$t('settings.secure_your_account')}

{is_enabled ? $t('settings.enabled') : $t('settings.setup_required')}
{#if qrCodeDataUrl}

{$t('settings.scan_qr_code')}

QR Code

{$t('settings.scan_with_authenticator_app')}

{/if} {#if secret}

{$t('settings.manual_entry')}

{/if}

{$t('settings.verify_setup')}

{#if recovery_codes.length > 0}

{$t('settings.recovery_codes')}

{$t('settings.important')}

{$t('settings.recovery_codes_desc')}

{#each recovery_codes as code, index}
{index + 1}
{/each}
{/if} {#if reauthError}

{$t('settings.error_occurred')}

{$t('settings.reset_session_error')}

{/if}
{is_enabled ? $t('settings.mfa_already_enabled') : $t('settings.complete_setup_to_enable')}
{#if !is_enabled && first_code.length >= 6} {/if}