{mode === 'totp' ? $_('oauth.totp.title') : $_('oauth.twoFactorCode.title')}

{#if mode === '2fa'}

{$_('oauth.twoFactorCode.subtitle', { values: { channel } })}

{/if} {#if error}
{error}
{/if}
{#if mode === 'totp'} {#if isBackupCode || isTotpCode}

{isBackupCode ? $_('oauth.totp.hintBackupCode') : $_('oauth.totp.hintTotpCode')}

{/if} {:else} {/if}
{#if mode === 'totp'} {/if}