improved message saml

This commit is contained in:
fbsanchez 2020-10-19 19:00:00 +02:00
parent 3562192d69
commit d7f3810bba
1 changed files with 8 additions and 2 deletions

View File

@ -398,9 +398,15 @@ if (! isset($config['id_user'])) {
} else if (($config['auth'] == 'saml') && ($login_button_saml)) {
$saml_user_id = enterprise_hook('saml_process_user_login');
if (!$saml_user_id) {
include_once 'general/noaccesssaml.php';
}
$login_failed = true;
include_once 'general/login_page.php';
while (@ob_end_flush()) {
// Dumping...
continue;
}
exit('</html>');
}
$nick_in_db = $saml_user_id;
if (!$nick_in_db) {