diff --git a/module/VuFind/src/VuFind/Auth/Manager.php b/module/VuFind/src/VuFind/Auth/Manager.php index 1d0d1a7c8bbaf588c8c619821db473eb3140878f..9a7b3dd088c943ca144e68671403ec98a01e76a4 100644 --- a/module/VuFind/src/VuFind/Auth/Manager.php +++ b/module/VuFind/src/VuFind/Auth/Manager.php @@ -403,6 +403,9 @@ class Manager implements \LmcRbacMvc\Identity\IdentityProviderInterface // necessary. $url = $this->getAuth()->logout($url); + // Reset authentication state + $this->getAuth()->resetState(); + // Clear out the cached user object and session entry. $this->currentUser = false; unset($this->session->userId);