]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/Saml2Controller.php
Fixed occurances of altered titles in search results
[bookstack] / app / Http / Controllers / Auth / Saml2Controller.php
index 871abf59f9114f222c73301423d75c279d815009..bd3b25da770ab113e04c2298b6d0b4d3f7b6f907 100644 (file)
@@ -37,7 +37,7 @@ class Saml2Controller extends Controller
      */
     public function logout()
     {
-        $logoutDetails = $this->samlService->logout();
+        $logoutDetails = $this->samlService->logout(auth()->user());
 
         if ($logoutDetails['id']) {
             session()->flash('saml2_logout_request_id', $logoutDetails['id']);