mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
#4490 - Should fix autofill in usersettings (new password)
This commit is contained in:
@@ -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')
|
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);
|
return e107::getForm()->password('password1', '', 20, $options);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user