mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 03:54:09 +02:00
Should fix Issue #64 (usersettings password issue)
This commit is contained in:
@@ -91,7 +91,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);
|
||||
$options = array('size' => 40,'title'=>LAN_USET_23, 'required'=>0);
|
||||
return e107::getForm()->password('password1', '', 20, $options);
|
||||
}
|
||||
|
||||
@@ -106,7 +106,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);
|
||||
$options = array('size' => 40,'title'=>LAN_USET_23, 'required'=>0);
|
||||
return e107::getForm()->password('password2', '', 20, $options);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user