perf: enable full credential autofill on WebUI login form (#8631)

* Initial plan

* chore: outline plan for login autocomplete fix

* fix(webui): add login autocomplete attributes

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2026-06-06 23:17:42 +08:00
committed by GitHub
parent fde0ea9236
commit 6ae103a24f
3 changed files with 14 additions and 7 deletions

View File

@@ -4,10 +4,6 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
overrides:
immutable: 4.3.8
lodash-es: 4.17.23
importers:
.:
@@ -998,6 +994,7 @@ packages:
'@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
'@vitejs/plugin-vue@5.2.4':
resolution: {integrity: sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==}
@@ -2069,6 +2066,9 @@ packages:
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
lodash-es@4.17.21:
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
lodash-es@4.17.23:
resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==}
@@ -3130,12 +3130,12 @@ snapshots:
dependencies:
'@chevrotain/gast': 11.0.3
'@chevrotain/types': 11.0.3
lodash-es: 4.17.23
lodash-es: 4.17.21
'@chevrotain/gast@11.0.3':
dependencies:
'@chevrotain/types': 11.0.3
lodash-es: 4.17.23
lodash-es: 4.17.21
'@chevrotain/regexp-to-ast@11.0.3': {}
@@ -4259,7 +4259,7 @@ snapshots:
'@chevrotain/regexp-to-ast': 11.0.3
'@chevrotain/types': 11.0.3
'@chevrotain/utils': 11.0.3
lodash-es: 4.17.23
lodash-es: 4.17.21
chokidar@3.6.0:
dependencies:
@@ -5058,6 +5058,8 @@ snapshots:
dependencies:
p-locate: 5.0.0
lodash-es@4.17.21: {}
lodash-es@4.17.23: {}
lodash.merge@4.6.2: {}

View File

@@ -0,0 +1,3 @@
allowBuilds:
esbuild: true
vue-demi: true

View File

@@ -27,6 +27,7 @@ function onSubmit() {
<v-text-field
:model-value="props.username"
:label="t('username')"
autocomplete="username"
class="mb-6 input-field"
required
hide-details="auto"
@@ -40,6 +41,7 @@ function onSubmit() {
<v-text-field
:model-value="props.password"
:label="t('password')"
autocomplete="current-password"
required
variant="outlined"
hide-details="auto"