diff --git a/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module b/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module index b4ee7a68..64f3c526 100644 --- a/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module +++ b/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module @@ -145,7 +145,7 @@ class InputfieldPassword extends InputfieldText { $this->wire('modules')->get('JqueryCore')->use('xregexp'); $page = $this->wire('page'); if(($page && $page->template == 'admin') || $this->wire('user')->isLoggedin()) { - $this->attr('autocomplete', 'off'); // ProcessProfile and ProcessUser + $this->attr('autocomplete', 'new-password'); // ProcessProfile and ProcessUser } return parent::renderReady($parent, $renderValueMode); } @@ -213,7 +213,7 @@ class InputfieldPassword extends InputfieldText { "
" . "" . " " . + "size='$size' id='_old_$name' name='_old_$name' value='' autocomplete='new-password' /> " . "
"; } @@ -237,7 +237,7 @@ class InputfieldPassword extends InputfieldText { "" . "" . " " . + "size='$size' id='_$name' name='_$name' value='$confirmValue' autocomplete='new-password' /> " . "" . //"$angleIcon$newPassLabel ($confirmLabel)" . "$goodIcon" . $this->_('Matches') . "" .