mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#9895 Add description error login ldap
This commit is contained in:
parent
d1fb27f5c4
commit
a2d9aa81d0
@ -415,6 +415,7 @@ if (isset($config['id_user']) === false) {
|
|||||||
unset($_POST['auth_code'], $code);
|
unset($_POST['auth_code'], $code);
|
||||||
|
|
||||||
if (!$double_auth_success) {
|
if (!$double_auth_success) {
|
||||||
|
$config['auth_error'] = __('Double auth error');
|
||||||
$login_failed = true;
|
$login_failed = true;
|
||||||
include_once 'general/login_page.php';
|
include_once 'general/login_page.php';
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
@ -440,6 +441,7 @@ if (isset($config['id_user']) === false) {
|
|||||||
} else if (($config['auth'] === 'saml') && ($login_button_saml)) {
|
} else if (($config['auth'] === 'saml') && ($login_button_saml)) {
|
||||||
$saml_user_id = enterprise_hook('saml_process_user_login');
|
$saml_user_id = enterprise_hook('saml_process_user_login');
|
||||||
if (!$saml_user_id) {
|
if (!$saml_user_id) {
|
||||||
|
$config['auth_error'] = __('saml error');
|
||||||
$login_failed = true;
|
$login_failed = true;
|
||||||
include_once 'general/login_page.php';
|
include_once 'general/login_page.php';
|
||||||
while (ob_get_length() > 0) {
|
while (ob_get_length() > 0) {
|
||||||
@ -702,6 +704,7 @@ if (isset($config['id_user']) === false) {
|
|||||||
login_check_failed($nick);
|
login_check_failed($nick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$config['auth_error'] = __('User is blocked');
|
||||||
$login_failed = true;
|
$login_failed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user