From 1a4502d150f5fb4aa9fe1ae7b90c8d30b09b2bef Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Wed, 15 Nov 2017 10:27:56 +0100 Subject: [PATCH] Added new field to ldap config --- pandora_console/include/functions_config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 844acb85c5..26e87a9cd8 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -345,6 +345,8 @@ function config_update_config () { $error_update[] = __('Login attribute'); if (!config_update_value ('fallback_local_auth', get_parameter ('fallback_local_auth'))) $error_update[] = __('Fallback to local authentication'); + if (!config_update_value ('ldap_login_user_attr', get_parameter ('ldap_login_user_attr'))) + $error_update[] = __('Login user attribute'); if (isset($config['fallback_local_auth']) && $config['fallback_local_auth'] == 0) { if (!config_update_value ('ldap_save_password', get_parameter ('ldap_save_password')))