diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 6be7561d..8a40ae30 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -34,7 +34,7 @@ - + {{ t('view.login.field.username') }} @@ -45,16 +45,15 @@ name="username" :placeholder="t('view.login.field.username')" :aria-invalid="!!errors.length" - clearable @update:modelValue="field.onChange" @blur="field.onBlur" /> - + - + {{ t('view.login.field.password') }} @@ -66,8 +65,8 @@ name="password" :placeholder="t('view.login.field.password')" :aria-invalid="!!errors.length" - clearable show-password + @keydown.delete="handleChange('', false)" @update:modelValue="field.onChange" @blur="field.onBlur" /> @@ -240,7 +239,11 @@ * @param user */ async function clickSavedLogin(user) { - await relogin(user); + try { + await relogin(user); + } catch { + // relogin already handles user-facing error display (toast) + } await updateSavedCredentials(); }