Merge pull request #329 from JocelynDelalande/patch-1

Avoid suggesting saved password on user password change form
This commit is contained in:
Alexandre Aubin 2021-09-03 19:16:40 +02:00 committed by GitHub
commit cd550a6fbc
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: 'change_password', type: 'password', placeholder: '••••••••' } props: { id: 'change_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" }
} }
} }
} }