{"action":"created","issue":{"url":"https://api.github.com/repos/stamparm/hontel/issues/1","repository_url":"https://api.github.com/repos/stamparm/hontel","labels_url":"https://api.github.com/repos/stamparm/hontel/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/stamparm/hontel/issues/1/comments","events_url":"https://api.github.com/repos/stamparm/hontel/issues/1/events","html_url":"https://github.com/stamparm/hontel/issues/1","id":172884088,"number":1,"title":"send login failed back to client?","user":{"login":"CanadianJeff","id":1225247,"avatar_url":"https://avatars.githubusercontent.com/u/1225247?v=3","gravatar_id":"","url":"https://api.github.com/users/CanadianJeff","html_url":"https://github.com/CanadianJeff","followers_url":"https://api.github.com/users/CanadianJeff/followers","following_url":"https://api.github.com/users/CanadianJeff/following{/other_user}","gists_url":"https://api.github.com/users/CanadianJeff/gists{/gist_id}","starred_url":"https://api.github.com/users/CanadianJeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanadianJeff/subscriptions","organizations_url":"https://api.github.com/users/CanadianJeff/orgs","repos_url":"https://api.github.com/users/CanadianJeff/repos","events_url":"https://api.github.com/users/CanadianJeff/events{/privacy}","received_events_url":"https://api.github.com/users/CanadianJeff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stamparm/hontel/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T07:35:13Z","updated_at":"2016-08-25T15:28:42Z","closed_at":"2016-08-25T15:24:32Z","body":"after each failed attempt I want to write back to the client\r\n\"Login incorrect\"\r\nwhere do I put this?"},"comment":{"url":"https://api.github.com/repos/stamparm/hontel/issues/comments/242429602","html_url":"https://github.com/stamparm/hontel/issues/1#issuecomment-242429602","issue_url":"https://api.github.com/repos/stamparm/hontel/issues/1","id":242429602,"user":{"login":"CanadianJeff","id":1225247,"avatar_url":"https://avatars.githubusercontent.com/u/1225247?v=3","gravatar_id":"","url":"https://api.github.com/users/CanadianJeff","html_url":"https://github.com/CanadianJeff","followers_url":"https://api.github.com/users/CanadianJeff/followers","following_url":"https://api.github.com/users/CanadianJeff/following{/other_user}","gists_url":"https://api.github.com/users/CanadianJeff/gists{/gist_id}","starred_url":"https://api.github.com/users/CanadianJeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanadianJeff/subscriptions","organizations_url":"https://api.github.com/users/CanadianJeff/orgs","repos_url":"https://api.github.com/users/CanadianJeff/repos","events_url":"https://api.github.com/users/CanadianJeff/events{/privacy}","received_events_url":"https://api.github.com/users/CanadianJeff/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T15:28:42Z","updated_at":"2016-08-25T15:28:42Z","body":"ok I set it too\r\n\r\n```\r\n\r\n    def authCallback(self, username, password):\r\n        if username is not None and password is not None:\r\n            self._log(\"AUTH\", \"{}:{}\" .format(username, password))\r\n\r\n        if not(username == AUTH_USERNAME and password == AUTH_PASSWORD):\r\n            self.writeline(\"login incorrect\")\r\n            raise Exception(\"[x] wrong credentials ('{}':'{}')\".format(username, password))\r\n```\r\n\r\nseems to get the job done just fine"}}
{"actor":{"display_login":"CanadianJeff"}}