{"action":"opened","issue":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/76","labels_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/76/comments","events_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/76/events","html_url":"https://github.com/chrisbjr/api-guard/issues/76","id":113630270,"number":76,"title":"No error message if no API key or incorrect one provided","user":{"login":"sylouuu","id":2300259,"avatar_url":"https://avatars.githubusercontent.com/u/2300259?v=3","gravatar_id":"","url":"https://api.github.com/users/sylouuu","html_url":"https://github.com/sylouuu","followers_url":"https://api.github.com/users/sylouuu/followers","following_url":"https://api.github.com/users/sylouuu/following{/other_user}","gists_url":"https://api.github.com/users/sylouuu/gists{/gist_id}","starred_url":"https://api.github.com/users/sylouuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylouuu/subscriptions","organizations_url":"https://api.github.com/users/sylouuu/orgs","repos_url":"https://api.github.com/users/sylouuu/repos","events_url":"https://api.github.com/users/sylouuu/events{/privacy}","received_events_url":"https://api.github.com/users/sylouuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T16:54:43Z","updated_at":"2015-10-27T16:54:43Z","closed_at":null,"body":"Hi @chrisbjr,\r\n\r\nI've just installed `api-guard` without issue but I don't any error message to protect my API.\r\n\r\nHere is my controller:\r\n\r\n```php\r\n<?php namespace App\\Http\\Controllers;\r\n\r\nuse Chrisbjr\\ApiGuard\\Http\\Controllers\\ApiGuardController;\r\nuse App\\Model\\Repositories\\CollaboratorRepository;\r\n\r\nclass CollaboratorController extends ApiGuardController {\r\n\r\n    private $collaborator_repository;\r\n\r\n    /**\r\n     * Create a new command instance.\r\n     *\r\n     * @return void\r\n     */\r\n    public function __construct(CollaboratorRepository $collaborator_repository)\r\n    {\r\n        $this->collaborator_repository = $collaborator_repository;\r\n    }\r\n\r\n    public function getAll ()\r\n    {\r\n        $collaborators = $this->collaborator_repository->getAll();\r\n\r\n        return response()->json($collaborators);\r\n    }\r\n\r\n    public function getById ($id)\r\n    {\r\n        $collaborator = $this->collaborator_repository->getById($id);\r\n\r\n        return response()->json($collaborator);\r\n    }\r\n\r\n}\r\n```\r\n\r\nI get my JSON but I expected errors because I didn't provide the `X-Authorization` header.\r\n\r\nI have your 2 tables and generated an API key.\r\n\r\nBests"}}