Avoid suggesting saved password on user password change form

This commit is contained in:
JocelynDelalande 2021-02-05 06:54:21 +01:00 committed by GitHub
parent 3706ae58e4
commit 2ff0e9fce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,12 +205,12 @@ export default {
label: this.$i18n.t('password'), label: this.$i18n.t('password'),
description: this.$i18n.t('good_practices_about_user_password'), description: this.$i18n.t('good_practices_about_user_password'),
descriptionVariant: 'warning', descriptionVariant: 'warning',
props: { id: 'password', type: 'password', placeholder: '••••••••' } props: { id: 'password', type: 'password', placeholder: '••••••••', autocomplete: "new-password" }
}, },
confirmation: { confirmation: {
label: this.$i18n.t('password_confirmation'), label: this.$i18n.t('password_confirmation'),
props: { id: 'confirmation', type: 'password', placeholder: '••••••••' } props: { id: 'confirmation', type: 'password', placeholder: '••••••••', autocomplete: "new-password" }
} }
} }
} }