mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Include SAML in pandora standard session handler (php)
This commit is contained in:
parent
5b1d29e4cb
commit
b97e8697f9
@ -198,8 +198,6 @@ function pandora_session_gc($max_lifetime=300)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: SAML should work with pandora session handlers.
|
|
||||||
if (db_get_value('value', 'tconfig', 'token', 'auth') != 'saml') {
|
|
||||||
$result_handler = session_set_save_handler(
|
$result_handler = session_set_save_handler(
|
||||||
'pandora_session_open',
|
'pandora_session_open',
|
||||||
'pandora_session_close',
|
'pandora_session_close',
|
||||||
@ -208,4 +206,3 @@ if (db_get_value('value', 'tconfig', 'token', 'auth') != 'saml') {
|
|||||||
'pandora_session_destroy',
|
'pandora_session_destroy',
|
||||||
'pandora_session_gc'
|
'pandora_session_gc'
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user