Merge branch 'ent-2221-saml-php7-issues' into 'develop'

Patch to SAML login. It wont pass for pandora session handlers

See merge request artica/pandorafms!2015
This commit is contained in:
vgilc 2018-11-23 15:04:50 +01:00
commit bc70922acf
1 changed files with 4 additions and 2 deletions

View File

@ -77,6 +77,8 @@ function pandora_session_gc ($max_lifetime = 300) {
return $retval;
}
$result_handler = session_set_save_handler ('pandora_session_open', 'pandora_session_close', 'pandora_session_read', 'pandora_session_write', 'pandora_session_destroy', 'pandora_session_gc');
// FIXME: SAML should work with pandora session handlers
if (db_get_value('value', 'tconfig', 'token', 'auth') != "saml") {
$result_handler = session_set_save_handler ('pandora_session_open', 'pandora_session_close', 'pandora_session_read', 'pandora_session_write', 'pandora_session_destroy', 'pandora_session_gc');
}
?>