From 2ff0e9fce332ef73683175d51953b7b690edb4a7 Mon Sep 17 00:00:00 2001 From: JocelynDelalande Date: Fri, 5 Feb 2021 06:54:21 +0100 Subject: [PATCH] Avoid suggesting saved password on user password change form --- app/src/views/user/UserEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/views/user/UserEdit.vue b/app/src/views/user/UserEdit.vue index 26edac03..ebc990c9 100644 --- a/app/src/views/user/UserEdit.vue +++ b/app/src/views/user/UserEdit.vue @@ -205,12 +205,12 @@ export default { label: this.$i18n.t('password'), description: this.$i18n.t('good_practices_about_user_password'), descriptionVariant: 'warning', - props: { id: 'password', type: 'password', placeholder: '••••••••' } + props: { id: 'password', type: 'password', placeholder: '••••••••', autocomplete: "new-password" } }, confirmation: { label: this.$i18n.t('password_confirmation'), - props: { id: 'confirmation', type: 'password', placeholder: '••••••••' } + props: { id: 'confirmation', type: 'password', placeholder: '••••••••', autocomplete: "new-password" } } } }