Full implemantation
This commit is contained in:
@ -63,6 +63,7 @@ class Auth
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->getLogger()->debug(sha1($this->getAPIKey()));
|
||||
$response = $this->getResponseFactory()->createResponse(401);
|
||||
$response->getBody()->write(\Safe\json_encode(['error' => 401, 'message' => 'Incorrect token']));
|
||||
return $response
|
||||
|
Reference in New Issue
Block a user