{`${$WEBUI_NAME}`} {#if loaded}
logo
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
{$i18n.t('Signing in to {{WEBUI_NAME}}', { WEBUI_NAME: $WEBUI_NAME })}
{:else}
{ submitHandler(); }} >
{#if mode === 'signin'} {$i18n.t(`Sign in to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })} {:else} {$i18n.t(`Sign up to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })} {/if}
{#if mode === 'signup'}
ⓘ {$WEBUI_NAME} {$i18n.t( 'does not make any external connections, and your data stays securely on your locally hosted server.' )}
{/if}
{#if $config?.features.enable_login_form}
{#if mode === 'signup'}
{$i18n.t('Name')}

{/if}
{$i18n.t('Email')}
{$i18n.t('Password')}
{/if} {#if $config?.features.enable_login_form}
{#if $config?.features.enable_signup}
{mode === 'signin' ? $i18n.t("Don't have an account?") : $i18n.t('Already have an account?')}
{/if}
{/if}
{#if Object.keys($config?.oauth?.providers ?? {}).length > 0}

{#if $config?.features.enable_login_form} {$i18n.t('or')} {/if}
{#if $config?.oauth?.providers?.google} {/if} {#if $config?.oauth?.providers?.microsoft} {/if} {#if $config?.oauth?.providers?.oidc} {/if}
{/if}
{/if}
{/if}