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:
commit
bc70922acf
|
@ -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');
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue