Verified Commit 0107564d authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Removed debug info from TokenController#verify

parent a33c8c4d
......@@ -97,8 +97,7 @@ class TokenController extends APIController {
if (!$token->isExpired()) {
return $this->apiService->json([
"status" => "Token valid",
"user" => $this->apiService->serialize($user),
"token" => $this->apiService->serialize($token)
"user" => $this->apiService->serialize($user)
]);
} else {
return $this->error("Token expired", Response::HTTP_FORBIDDEN);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment