Skip to content

Commit

Permalink
another fix for signing out
Browse files Browse the repository at this point in the history
related to CWRUChielLab#13
  • Loading branch information
tpokorra committed Apr 10, 2021
1 parent 0e2d0b1 commit cabb556
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CASAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ function casPostAuth($ticket2logout) {

// remember the current session name and id
$session = MediaWiki\Session\SessionManager::getGlobalSession();
$old_session_name=$session->getName();
$session->clear();
return;
// $old_session_name=$session->getName();
$old_session_id=$session->getId();

// close the current session for now
Expand Down

0 comments on commit cabb556

Please sign in to comment.