Skip to content
Snippets Groups Projects
Commit 6108e052 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Manually remove logout callbacks data from the session on the SP (instead of...

Manually remove logout callbacks data from the session on the SP (instead of using SimpleSAML_Session::DATA_TIMEOUT_LOGOUT).
parent a82ddabd
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ abstract class SimpleSAML_Auth_Source {
$session = SimpleSAML_Session::getSessionFromRequest();
$session->setData('SimpleSAML_Auth_Source.LogoutCallbacks', $id, $data,
SimpleSAML_Session::DATA_TIMEOUT_LOGOUT);
SimpleSAML_Session::DATA_TIMEOUT_SESSION_END);
}
......@@ -331,6 +331,7 @@ abstract class SimpleSAML_Auth_Source {
$callback = $data['callback'];
$callbackState = $data['state'];
$session->deleteData('SimpleSAML_Auth_Source.LogoutCallbacks', $id);
call_user_func($callback, $callbackState);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment