diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 2443dd9f3b..913f2fc4b6 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -245,8 +245,6 @@ function config_update_config () { $error_update[] = __('Metaconsole agent cache'); if (!config_update_value ('log_collector', (bool)get_parameter('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()); if (!config_update_value ('inventory_changes_blacklist', implode(',',$inventory_changes_blacklist))) @@ -292,6 +290,8 @@ function config_update_config () { $error_update[] = __('Enable password history'); if (!config_update_value ('compare_pass', get_parameter('compare_pass'))) $error_update[] = __('Compare previous password'); + if (!config_update_value ('reset_pass_option', (bool)get_parameter('reset_pass_option'))) + $error_update[] = __('Activate reset password'); } break; case 'auth':