{"action":"closed","number":932,"pull_request":{"url":"https://api.github.com/repos/chef/inspec/pulls/932","id":81738630,"html_url":"https://github.com/chef/inspec/pull/932","diff_url":"https://github.com/chef/inspec/pull/932.diff","patch_url":"https://github.com/chef/inspec/pull/932.patch","issue_url":"https://api.github.com/repos/chef/inspec/issues/932","number":932,"state":"closed","locked":false,"title":"return token stored message on login","user":{"login":"vjeffrey","id":10341541,"avatar_url":"https://avatars.githubusercontent.com/u/10341541?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeffrey","html_url":"https://github.com/vjeffrey","followers_url":"https://api.github.com/users/vjeffrey/followers","following_url":"https://api.github.com/users/vjeffrey/following{/other_user}","gists_url":"https://api.github.com/users/vjeffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeffrey/subscriptions","organizations_url":"https://api.github.com/users/vjeffrey/orgs","repos_url":"https://api.github.com/users/vjeffrey/repos","events_url":"https://api.github.com/users/vjeffrey/events{/privacy}","received_events_url":"https://api.github.com/users/vjeffrey/received_events","type":"User","site_admin":false},"body":"at the moment, on master, we respond with 'successfully authenticated' even when there's an obviously wrong token, so this is just a small change to send back the actual message instead: \r\n<img width=\"937\" alt=\"screen shot 2016-08-17 at 8 12 49 pm\" src=\"https://cloud.githubusercontent.com/assets/10341541/17757711/06132068-64b7-11e6-90f3-db6cc168811d.png\">\r\n","created_at":"2016-08-18T00:13:16Z","updated_at":"2016-08-18T16:12:22Z","closed_at":"2016-08-18T16:12:21Z","merged_at":"2016-08-18T16:12:21Z","merge_commit_sha":"d13a8ff16fe096b3960bf0e565438372497e8d38","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/inspec/pulls/932/commits","review_comments_url":"https://api.github.com/repos/chef/inspec/pulls/932/comments","review_comment_url":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/inspec/issues/932/comments","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/24a2c5c356e9a9b748acc9bc020031a059691619","head":{"label":"chef:vj/update-token-msg","ref":"vj/update-token-msg","sha":"24a2c5c356e9a9b748acc9bc020031a059691619","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":41571541,"name":"inspec","full_name":"chef/inspec","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/inspec","description":"InSpec: Auditing and Testing Framework","fork":false,"url":"https://api.github.com/repos/chef/inspec","forks_url":"https://api.github.com/repos/chef/inspec/forks","keys_url":"https://api.github.com/repos/chef/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/inspec/teams","hooks_url":"https://api.github.com/repos/chef/inspec/hooks","issue_events_url":"https://api.github.com/repos/chef/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/chef/inspec/events","assignees_url":"https://api.github.com/repos/chef/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/chef/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/chef/inspec/tags","blobs_url":"https://api.github.com/repos/chef/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/inspec/languages","stargazers_url":"https://api.github.com/repos/chef/inspec/stargazers","contributors_url":"https://api.github.com/repos/chef/inspec/contributors","subscribers_url":"https://api.github.com/repos/chef/inspec/subscribers","subscription_url":"https://api.github.com/repos/chef/inspec/subscription","commits_url":"https://api.github.com/repos/chef/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/chef/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/inspec/merges","archive_url":"https://api.github.com/repos/chef/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/inspec/downloads","issues_url":"https://api.github.com/repos/chef/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/chef/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/inspec/labels{/name}","releases_url":"https://api.github.com/repos/chef/inspec/releases{/id}","deployments_url":"https://api.github.com/repos/chef/inspec/deployments","created_at":"2015-08-28T22:16:01Z","updated_at":"2016-08-18T08:18:09Z","pushed_at":"2016-08-18T16:12:22Z","git_url":"git://github.com/chef/inspec.git","ssh_url":"git@github.com:chef/inspec.git","clone_url":"https://github.com/chef/inspec.git","svn_url":"https://github.com/chef/inspec","homepage":"","size":3054,"stargazers_count":410,"watchers_count":410,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":179,"forks":70,"open_issues":179,"watchers":410,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"b84b721b83a7530a4d29d92fbcc0aaf794b5b0b5","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":41571541,"name":"inspec","full_name":"chef/inspec","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/inspec","description":"InSpec: Auditing and Testing Framework","fork":false,"url":"https://api.github.com/repos/chef/inspec","forks_url":"https://api.github.com/repos/chef/inspec/forks","keys_url":"https://api.github.com/repos/chef/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/inspec/teams","hooks_url":"https://api.github.com/repos/chef/inspec/hooks","issue_events_url":"https://api.github.com/repos/chef/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/chef/inspec/events","assignees_url":"https://api.github.com/repos/chef/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/chef/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/chef/inspec/tags","blobs_url":"https://api.github.com/repos/chef/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/inspec/languages","stargazers_url":"https://api.github.com/repos/chef/inspec/stargazers","contributors_url":"https://api.github.com/repos/chef/inspec/contributors","subscribers_url":"https://api.github.com/repos/chef/inspec/subscribers","subscription_url":"https://api.github.com/repos/chef/inspec/subscription","commits_url":"https://api.github.com/repos/chef/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/chef/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/inspec/merges","archive_url":"https://api.github.com/repos/chef/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/inspec/downloads","issues_url":"https://api.github.com/repos/chef/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/chef/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/inspec/labels{/name}","releases_url":"https://api.github.com/repos/chef/inspec/releases{/id}","deployments_url":"https://api.github.com/repos/chef/inspec/deployments","created_at":"2015-08-28T22:16:01Z","updated_at":"2016-08-18T08:18:09Z","pushed_at":"2016-08-18T16:12:22Z","git_url":"git://github.com/chef/inspec.git","ssh_url":"git@github.com:chef/inspec.git","clone_url":"https://github.com/chef/inspec.git","svn_url":"https://github.com/chef/inspec","homepage":"","size":3054,"stargazers_count":410,"watchers_count":410,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":179,"forks":70,"open_issues":179,"watchers":410,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/inspec/pulls/932"},"html":{"href":"https://github.com/chef/inspec/pull/932"},"issue":{"href":"https://api.github.com/repos/chef/inspec/issues/932"},"comments":{"href":"https://api.github.com/repos/chef/inspec/issues/932/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/inspec/pulls/932/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/inspec/pulls/932/commits"},"statuses":{"href":"https://api.github.com/repos/chef/inspec/statuses/24a2c5c356e9a9b748acc9bc020031a059691619"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chris-rock","id":1178413,"avatar_url":"https://avatars.githubusercontent.com/u/1178413?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-rock","html_url":"https://github.com/chris-rock","followers_url":"https://api.github.com/users/chris-rock/followers","following_url":"https://api.github.com/users/chris-rock/following{/other_user}","gists_url":"https://api.github.com/users/chris-rock/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-rock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-rock/subscriptions","organizations_url":"https://api.github.com/users/chris-rock/orgs","repos_url":"https://api.github.com/users/chris-rock/repos","events_url":"https://api.github.com/users/chris-rock/events{/privacy}","received_events_url":"https://api.github.com/users/chris-rock/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"commits":1,"additions":13,"deletions":11,"changed_files":2}}
{"actor":{"display_login":"chris-rock"}}