{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/93","repository_url":"https://api.github.com/repos/chrisbjr/api-guard","labels_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/93/comments","events_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/93/events","html_url":"https://github.com/chrisbjr/api-guard/issues/93","id":132036793,"number":93,"title":"Undefined index: X-Authorization","user":{"login":"sashahilton00","id":4185362,"avatar_url":"https://avatars.githubusercontent.com/u/4185362?v=3","gravatar_id":"","url":"https://api.github.com/users/sashahilton00","html_url":"https://github.com/sashahilton00","followers_url":"https://api.github.com/users/sashahilton00/followers","following_url":"https://api.github.com/users/sashahilton00/following{/other_user}","gists_url":"https://api.github.com/users/sashahilton00/gists{/gist_id}","starred_url":"https://api.github.com/users/sashahilton00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashahilton00/subscriptions","organizations_url":"https://api.github.com/users/sashahilton00/orgs","repos_url":"https://api.github.com/users/sashahilton00/repos","events_url":"https://api.github.com/users/sashahilton00/events{/privacy}","received_events_url":"https://api.github.com/users/sashahilton00/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-08T02:12:38Z","updated_at":"2016-02-09T11:44:46Z","closed_at":"2016-02-09T11:44:46Z","body":"Hi,\r\n\r\nI have been trying to work out what is going wrong here, I have specified the following in the UserController:\r\n\r\n<code>\r\nprotected $apiMethods = [\r\n        'userLogin' => [\r\n            'keyAuthentication' => false,\r\n        ],\r\n    ];\r\n</code>\r\n\r\nYet when I call the api endpoint that is assigned to this finction in the controller, I end up with an error like so:\r\n\r\n<code>\r\nErrorException in ApiGuard.php line 196:\r\nUndefined index: X-Authorization\r\n</code>\r\n\r\nAm I missing something here, or is this a bug? I'm using Laravel 5.2."},"comment":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/comments/181830356","html_url":"https://github.com/chrisbjr/api-guard/issues/93#issuecomment-181830356","issue_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/93","id":181830356,"user":{"login":"sashahilton00","id":4185362,"avatar_url":"https://avatars.githubusercontent.com/u/4185362?v=3","gravatar_id":"","url":"https://api.github.com/users/sashahilton00","html_url":"https://github.com/sashahilton00","followers_url":"https://api.github.com/users/sashahilton00/followers","following_url":"https://api.github.com/users/sashahilton00/following{/other_user}","gists_url":"https://api.github.com/users/sashahilton00/gists{/gist_id}","starred_url":"https://api.github.com/users/sashahilton00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashahilton00/subscriptions","organizations_url":"https://api.github.com/users/sashahilton00/orgs","repos_url":"https://api.github.com/users/sashahilton00/repos","events_url":"https://api.github.com/users/sashahilton00/events{/privacy}","received_events_url":"https://api.github.com/users/sashahilton00/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T11:44:46Z","updated_at":"2016-02-09T11:44:46Z","body":"Merged #94"}}