{$_('security.totpDescription')}
{#if setupStep === 'idle'} {#if totpEnabled}{$_('security.totpSetupInstructions')}
{totpUri.split('secret=')[1]?.split('&')[0] || ''}
{$_('security.totpCodePlaceholder')}
{$_('security.backupCodesDescription')}
{code}
{/each}
{$_('security.passkeysDescription')}
{#if !passkeysLoading} {#if passkeys.length > 0}{$_('security.passwordDescription')}
{#if !passwordLoading && hasPassword}{$_('security.removePasswordWarning')}
{$_('security.addPasskeyFirst')}
{/if} {:else}{$_('security.passkeyOnlyHint')}
{$_('security.addPasswordHint')}
{$_('security.goToSettings')} {/if}{$_('security.trustedDevicesDescription')}
{$_('security.manageTrustedDevices')} →{$_('security.legacyLoginDescription')}
{#if !legacyLoginLoading}{$_('security.totpPasswordWarning')}
{$_('security.legacyAppsDescription')}