diff --git a/src/Services/PrivilegeService.php b/src/Services/PrivilegeService.php index 7cd43de3..c5940895 100644 --- a/src/Services/PrivilegeService.php +++ b/src/Services/PrivilegeService.php @@ -56,7 +56,7 @@ class PrivilegeService } else { - if (!$this->authService->getLoggedInUser()) + if (!$this->authService->isLoggedIn()) $this->fail(); } }