#9895 Add description error login ldap

This commit is contained in:
Jonathan 2023-01-19 14:44:30 +01:00
parent d1fb27f5c4
commit a2d9aa81d0
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}