From 0624ea48ec75b4f4a6dc047d4d4ba4e6bae469ad Mon Sep 17 00:00:00 2001 From: flashwave Date: Fri, 9 Dec 2016 00:19:18 +0100 Subject: [PATCH] >.> --- app/Controllers/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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