Moved from ent to password
This commit is contained in:
parent
0fe95248c1
commit
9133f2edca
|
@ -245,8 +245,6 @@ function config_update_config () {
|
||||||
$error_update[] = __('Metaconsole agent cache');
|
$error_update[] = __('Metaconsole agent cache');
|
||||||
if (!config_update_value ('log_collector', (bool)get_parameter('log_collector')))
|
if (!config_update_value ('log_collector', (bool)get_parameter('log_collector')))
|
||||||
$error_update[] = __('Activate Log Collector');
|
$error_update[] = __('Activate Log Collector');
|
||||||
if (!config_update_value ('reset_pass_option', (bool)get_parameter('reset_pass_option')))
|
|
||||||
$error_update[] = __('Activate reset password');
|
|
||||||
|
|
||||||
$inventory_changes_blacklist = get_parameter('inventory_changes_blacklist', array());
|
$inventory_changes_blacklist = get_parameter('inventory_changes_blacklist', array());
|
||||||
if (!config_update_value ('inventory_changes_blacklist', implode(',',$inventory_changes_blacklist)))
|
if (!config_update_value ('inventory_changes_blacklist', implode(',',$inventory_changes_blacklist)))
|
||||||
|
@ -292,6 +290,8 @@ function config_update_config () {
|
||||||
$error_update[] = __('Enable password history');
|
$error_update[] = __('Enable password history');
|
||||||
if (!config_update_value ('compare_pass', get_parameter('compare_pass')))
|
if (!config_update_value ('compare_pass', get_parameter('compare_pass')))
|
||||||
$error_update[] = __('Compare previous password');
|
$error_update[] = __('Compare previous password');
|
||||||
|
if (!config_update_value ('reset_pass_option', (bool)get_parameter('reset_pass_option')))
|
||||||
|
$error_update[] = __('Activate reset password');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'auth':
|
case 'auth':
|
||||||
|
|
Loading…
Reference in New Issue