From f0e60c28df7ccae4daecca36825eb3e505263623 Mon Sep 17 00:00:00 2001 From: guenhter Date: Mon, 23 Jun 2025 11:48:03 +0200 Subject: [PATCH] fix: use correct password autocomplete for signup Password manager act based on the 'autocomplet' attribute of the password fields. If the attribut is set to "current-password" they try to fill the password with an existing one. If it is set to "new-password" they try to support the user by generating a new password. For signup in owui, the password was always set to "current-password", so the password manager never proposed a password on signup. --- src/routes/auth/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index c4dcfcd81..c7e114fd0 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -302,8 +302,8 @@ id="password" class="my-0.5 w-full text-sm outline-hidden bg-transparent" placeholder={$i18n.t('Enter Your Password')} - autocomplete="current-password" - name="current-password" + autocomplete={mode === 'signup' ? 'new-password' : 'current-password'} + name="password" required />