Edit user empêcher le pré-remplisage auto de l'ancien mot de passe

This commit is contained in:
Fred Tempez 2020-07-09 19:43:55 +02:00
parent e3e59db275
commit 46762d13b2

View File

@ -84,7 +84,7 @@
'value' => $this->getUrl(2) 'value' => $this->getUrl(2)
]); ?> ]); ?>
<?php echo template::password('userEditOldPassword', [ <?php echo template::password('userEditOldPassword', [
'autocomplete' => 'off', 'autocomplete' => 'new-password', // remplace 'off' pour éviter le pré remplissage auto
'label' => 'Ancien mot de passe' 'label' => 'Ancien mot de passe'
]); ?> ]); ?>
<?php echo template::password('userEditNewPassword', [ <?php echo template::password('userEditNewPassword', [