Commit c30d285b authored by Piers Harding's avatar Piers Harding Committed by Robert Lyon
Browse files

Bug 1579285: fix issue with logout

behatnotneeded

Change-Id: Iff4d1466277858b5496defaea9dbd16796fd4749
parent 5f512cd6
......@@ -60,10 +60,6 @@ if ($store_type == 'phpsession' || $session_handler == 'phpsession' || (empty($s
// do we have a logout request?
if (param_variable("logout", false)) {
// logout the saml session
$sp = $saml_session->getAuthority();
if (! $sp) {
$sp = 'default-sp';
}
$as = new SimpleSAML_Auth_Simple($sp);
$as->logout($CFG->wwwroot);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment