This commit is contained in:
flash 2016-12-09 00:19:18 +01:00
parent ca7633ba28
commit 0624ea48ec

View file

@ -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