From 9133f2edca1581e3cde5a6ce2a8ac42b49529cca Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Mon, 29 May 2017 12:20:07 +0200 Subject: [PATCH] Moved from ent to password --- pandora_console/include/functions_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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':