mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
improved message saml
This commit is contained in:
parent
3562192d69
commit
d7f3810bba
@ -398,9 +398,15 @@ if (! isset($config['id_user'])) {
|
|||||||
} 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) {
|
||||||
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;
|
$nick_in_db = $saml_user_id;
|
||||||
if (!$nick_in_db) {
|
if (!$nick_in_db) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user