diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index f40307816..2148061e7 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -203,7 +203,7 @@ {/if} - {#if $config?.features.enable_login_form} + {#if $config?.features.enable_login_form || $config?.features.enable_ldap}
{#if mode === 'signup'}
@@ -227,6 +227,7 @@ type="text" class="my-0.5 w-full text-sm outline-none bg-transparent" autocomplete="username" + name="username" placeholder={$i18n.t('Enter Your Username')} required /> @@ -239,6 +240,7 @@ type="email" class="my-0.5 w-full text-sm outline-none bg-transparent" autocomplete="email" + name="email" placeholder={$i18n.t('Enter Your Email')} required /> @@ -254,13 +256,14 @@ class="my-0.5 w-full text-sm outline-none bg-transparent" placeholder={$i18n.t('Enter Your Password')} autocomplete="current-password" + name="current-password" required />
{/if}
- {#if $config?.features.enable_login_form} + {#if $config?.features.enable_login_form || $config?.features.enable_ldap} {#if mode === 'ldap'}