From a2d9aa81d0932ac601928ad2243a02826694899b Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 19 Jan 2023 14:44:30 +0100 Subject: [PATCH] #9895 Add description error login ldap --- pandora_console/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/index.php b/pandora_console/index.php index c712be0567..fed8053b4a 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -415,6 +415,7 @@ if (isset($config['id_user']) === false) { unset($_POST['auth_code'], $code); if (!$double_auth_success) { + $config['auth_error'] = __('Double auth error'); $login_failed = true; include_once 'general/login_page.php'; db_pandora_audit( @@ -440,6 +441,7 @@ if (isset($config['id_user']) === false) { } else if (($config['auth'] === 'saml') && ($login_button_saml)) { $saml_user_id = enterprise_hook('saml_process_user_login'); if (!$saml_user_id) { + $config['auth_error'] = __('saml error'); $login_failed = true; include_once 'general/login_page.php'; while (ob_get_length() > 0) { @@ -702,6 +704,7 @@ if (isset($config['id_user']) === false) { login_check_failed($nick); } + $config['auth_error'] = __('User is blocked'); $login_failed = true; }