From f16e2ad3409b7bd5bf017eb50fd0d766a4a7302a Mon Sep 17 00:00:00 2001 From: Moc Date: Mon, 19 Apr 2021 19:29:33 +0200 Subject: [PATCH] #4490 - Should fix autofill in usersettings (new password) --- e107_core/shortcodes/batch/usersettings_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/usersettings_shortcodes.php b/e107_core/shortcodes/batch/usersettings_shortcodes.php index 79ac18826..8ac966b69 100755 --- a/e107_core/shortcodes/batch/usersettings_shortcodes.php +++ b/e107_core/shortcodes/batch/usersettings_shortcodes.php @@ -173,7 +173,7 @@ class usersettings_shortcodes extends e_shortcode if(!isset($pref['auth_method']) || $pref['auth_method'] == '' || $pref['auth_method'] == 'e107' || $pref['auth_method'] == '>e107') { - $options = array('size' => 40, 'title' => LAN_USET_23, 'required' => 0, 'autocomplete' => 'off'); + $options = array('size' => 40, 'title' => LAN_USET_23, 'required' => 0, 'autocomplete' => 'new-password'); return e107::getForm()->password('password1', '', 20, $options); }