- {#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 })}
+ {:else}
+
+ {#if $config?.features.enable_login_form}
+
+ {#if mode === 'signup'}
+
+ {/if}
- {#if $config?.features.enable_login_form}
-
- {#if mode === 'signup'}
-
-
{$i18n.t('Name')}
+
-
- {/if}
+
+
{$i18n.t('Password')}
-
-
-
-
{$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 $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 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}
+