Merge pull request #509 from YunoHost/autocomplet-login

fix: correctly set autocomplet attribute on login form inputs
This commit is contained in:
Alexandre Aubin 2023-02-19 20:58:26 +01:00 committed by GitHub
commit 759dc4cdc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,14 +47,16 @@ export default {
username: { username: {
label: this.$i18n.t('user_username'), label: this.$i18n.t('user_username'),
props: { props: {
id: 'username' id: 'username',
autocomplete: 'username'
} }
}, },
password: { password: {
label: this.$i18n.t('password'), label: this.$i18n.t('password'),
props: { props: {
id: 'password', id: 'password',
type: 'password' type: 'password',
autocomplete: 'current-password'
} }
} }
} }