verdande

{#if mode === 'loading'}

 

{:else if mode === 'setup'}

{t('auth.firstAccount')}

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

{t('auth.totpPrompt')}

{:else if mode === 'forgot'}

{t('auth.resetPrompt')}

{:else if mode === 'invite' || mode === 'reset'} {#if !token}

{t('auth.linkBroken')}

{t('auth.toSignIn')} {:else if app.user}

{t('auth.alreadySignedIn', { name: app.user.name })}

{:else if mode === 'invite'}

{t('auth.invited')}

{:else}

{t('auth.pickNew')}

{/if} {:else if mode === 'done'}

{t('auth.passwordChanged')}

{t('auth.toSignIn')} {:else if mode === 'sent'}

{t('auth.resetSent')}

{:else}

{t('auth.signInPrompt')}

{/if} {#if error} {/if}