diff --git a/app/Controllers/AuthController.php b/app/Controllers/AuthController.php index c262a25..afb2dc5 100644 --- a/app/Controllers/AuthController.php +++ b/app/Controllers/AuthController.php @@ -43,7 +43,7 @@ class AuthController extends Controller public function logout(): string { if (!session_check()) { - return $this->json(['error' => 'Logout failed.', 'a' => $_REQUEST]); + return $this->json(['error' => 'Logout failed.']); } // Destroy the active session