Patch to SAML login. It wont pass for pandora session handlers
This commit is contained in:
parent
cfeaea57ff
commit
cb9c6e35ba
|
@ -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