{"action":"opened","number":226,"pull_request":{"url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226","id":136418618,"html_url":"https://github.com/saintedlama/passport-local-mongoose/pull/226","diff_url":"https://github.com/saintedlama/passport-local-mongoose/pull/226.diff","patch_url":"https://github.com/saintedlama/passport-local-mongoose/pull/226.patch","issue_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/226","number":226,"state":"open","locked":false,"title":"Hide hash and salt fields of user in register()","user":{"login":"guoyunhe","id":5836790,"avatar_url":"https://avatars1.githubusercontent.com/u/5836790?v=4","gravatar_id":"","url":"https://api.github.com/users/guoyunhe","html_url":"https://github.com/guoyunhe","followers_url":"https://api.github.com/users/guoyunhe/followers","following_url":"https://api.github.com/users/guoyunhe/following{/other_user}","gists_url":"https://api.github.com/users/guoyunhe/gists{/gist_id}","starred_url":"https://api.github.com/users/guoyunhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoyunhe/subscriptions","organizations_url":"https://api.github.com/users/guoyunhe/orgs","repos_url":"https://api.github.com/users/guoyunhe/repos","events_url":"https://api.github.com/users/guoyunhe/events{/privacy}","received_events_url":"https://api.github.com/users/guoyunhe/received_events","type":"User","site_admin":false},"body":"Usually, in `register()` callback, you do not need salt and hash anymore. They should be hidden to avoid exposing to API.","created_at":"2017-08-18T07:34:17Z","updated_at":"2017-08-18T07:34:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226/commits","review_comments_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226/comments","review_comment_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/226/comments","statuses_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/statuses/8bf43eb00ef7d2e8ad51daf730f31e6d6c3dd245","head":{"label":"guoyunhe:patch-1","ref":"patch-1","sha":"8bf43eb00ef7d2e8ad51daf730f31e6d6c3dd245","user":{"login":"guoyunhe","id":5836790,"avatar_url":"https://avatars1.githubusercontent.com/u/5836790?v=4","gravatar_id":"","url":"https://api.github.com/users/guoyunhe","html_url":"https://github.com/guoyunhe","followers_url":"https://api.github.com/users/guoyunhe/followers","following_url":"https://api.github.com/users/guoyunhe/following{/other_user}","gists_url":"https://api.github.com/users/guoyunhe/gists{/gist_id}","starred_url":"https://api.github.com/users/guoyunhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoyunhe/subscriptions","organizations_url":"https://api.github.com/users/guoyunhe/orgs","repos_url":"https://api.github.com/users/guoyunhe/repos","events_url":"https://api.github.com/users/guoyunhe/events{/privacy}","received_events_url":"https://api.github.com/users/guoyunhe/received_events","type":"User","site_admin":false},"repo":{"id":100685095,"name":"passport-local-mongoose","full_name":"guoyunhe/passport-local-mongoose","owner":{"login":"guoyunhe","id":5836790,"avatar_url":"https://avatars1.githubusercontent.com/u/5836790?v=4","gravatar_id":"","url":"https://api.github.com/users/guoyunhe","html_url":"https://github.com/guoyunhe","followers_url":"https://api.github.com/users/guoyunhe/followers","following_url":"https://api.github.com/users/guoyunhe/following{/other_user}","gists_url":"https://api.github.com/users/guoyunhe/gists{/gist_id}","starred_url":"https://api.github.com/users/guoyunhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoyunhe/subscriptions","organizations_url":"https://api.github.com/users/guoyunhe/orgs","repos_url":"https://api.github.com/users/guoyunhe/repos","events_url":"https://api.github.com/users/guoyunhe/events{/privacy}","received_events_url":"https://api.github.com/users/guoyunhe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guoyunhe/passport-local-mongoose","description":"Passport-Local Mongoose is a Mongoose plugin that simplifies building username and password login with Passport","fork":true,"url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose","forks_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/forks","keys_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/teams","hooks_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/hooks","issue_events_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/events","assignees_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/tags","blobs_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/languages","stargazers_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/stargazers","contributors_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/contributors","subscribers_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/subscribers","subscription_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/subscription","commits_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/issues/comments{/number}","contents_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/merges","archive_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/downloads","issues_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/labels{/name}","releases_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/releases{/id}","deployments_url":"https://api.github.com/repos/guoyunhe/passport-local-mongoose/deployments","created_at":"2017-08-18T07:22:52Z","updated_at":"2017-08-18T07:22:53Z","pushed_at":"2017-08-18T07:34:08Z","git_url":"git://github.com/guoyunhe/passport-local-mongoose.git","ssh_url":"git@github.com:guoyunhe/passport-local-mongoose.git","clone_url":"https://github.com/guoyunhe/passport-local-mongoose.git","svn_url":"https://github.com/guoyunhe/passport-local-mongoose","homepage":"","size":364,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"saintedlama:master","ref":"master","sha":"7aed41e5d451ef5c7565882870d58ad4ed22c160","user":{"login":"saintedlama","id":123820,"avatar_url":"https://avatars0.githubusercontent.com/u/123820?v=4","gravatar_id":"","url":"https://api.github.com/users/saintedlama","html_url":"https://github.com/saintedlama","followers_url":"https://api.github.com/users/saintedlama/followers","following_url":"https://api.github.com/users/saintedlama/following{/other_user}","gists_url":"https://api.github.com/users/saintedlama/gists{/gist_id}","starred_url":"https://api.github.com/users/saintedlama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintedlama/subscriptions","organizations_url":"https://api.github.com/users/saintedlama/orgs","repos_url":"https://api.github.com/users/saintedlama/repos","events_url":"https://api.github.com/users/saintedlama/events{/privacy}","received_events_url":"https://api.github.com/users/saintedlama/received_events","type":"User","site_admin":false},"repo":{"id":6813456,"name":"passport-local-mongoose","full_name":"saintedlama/passport-local-mongoose","owner":{"login":"saintedlama","id":123820,"avatar_url":"https://avatars0.githubusercontent.com/u/123820?v=4","gravatar_id":"","url":"https://api.github.com/users/saintedlama","html_url":"https://github.com/saintedlama","followers_url":"https://api.github.com/users/saintedlama/followers","following_url":"https://api.github.com/users/saintedlama/following{/other_user}","gists_url":"https://api.github.com/users/saintedlama/gists{/gist_id}","starred_url":"https://api.github.com/users/saintedlama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintedlama/subscriptions","organizations_url":"https://api.github.com/users/saintedlama/orgs","repos_url":"https://api.github.com/users/saintedlama/repos","events_url":"https://api.github.com/users/saintedlama/events{/privacy}","received_events_url":"https://api.github.com/users/saintedlama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saintedlama/passport-local-mongoose","description":"Passport-Local Mongoose is a Mongoose plugin that simplifies building username and password login with Passport","fork":false,"url":"https://api.github.com/repos/saintedlama/passport-local-mongoose","forks_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/forks","keys_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/teams","hooks_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/hooks","issue_events_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/events","assignees_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/tags","blobs_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/languages","stargazers_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/stargazers","contributors_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/contributors","subscribers_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/subscribers","subscription_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/subscription","commits_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/comments{/number}","contents_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/merges","archive_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/downloads","issues_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/labels{/name}","releases_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/releases{/id}","deployments_url":"https://api.github.com/repos/saintedlama/passport-local-mongoose/deployments","created_at":"2012-11-22T13:25:04Z","updated_at":"2017-08-17T02:13:20Z","pushed_at":"2017-08-08T15:46:11Z","git_url":"git://github.com/saintedlama/passport-local-mongoose.git","ssh_url":"git@github.com:saintedlama/passport-local-mongoose.git","clone_url":"https://github.com/saintedlama/passport-local-mongoose.git","svn_url":"https://github.com/saintedlama/passport-local-mongoose","homepage":"","size":364,"stargazers_count":603,"watchers_count":603,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":172,"mirror_url":null,"open_issues_count":40,"forks":172,"open_issues":40,"watchers":603,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226"},"html":{"href":"https://github.com/saintedlama/passport-local-mongoose/pull/226"},"issue":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/226"},"comments":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/saintedlama/passport-local-mongoose/statuses/8bf43eb00ef7d2e8ad51daf730f31e6d6c3dd245"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"guoyunhe"}}