{brand}
{#if loading}

Loading...

{:else}

{effectiveSetupRequired ? 'Create your account' : 'Welcome back'}

{/if} {#if !loading} {#if tagline}

{tagline}

{/if}
{#if effectiveSetupRequired} {:else} {/if} {#if showTotp && !effectiveSetupRequired && totpRequired} {/if} {#if effectiveSetupRequired} {/if} {#if error || submitError}

{submitError || error}

{/if}
{#if children}
{@render children()}
{/if} {#if !effectiveSetupRequired && onRequestReset && onConfirmReset} {#if resetOpen}

A reset code has been printed to the server console.

{#if resetError}

{resetError}

{/if}
{:else} {/if} {/if} {/if}