{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3","id":51424839,"html_url":"https://github.com/zincmade/members.apprenticeship.community/pull/3","diff_url":"https://github.com/zincmade/members.apprenticeship.community/pull/3.diff","patch_url":"https://github.com/zincmade/members.apprenticeship.community/pull/3.patch","issue_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/3","number":3,"state":"open","locked":false,"title":"User login is database driven","user":{"login":"zspencer","id":50284,"avatar_url":"https://avatars.githubusercontent.com/u/50284?v=3","gravatar_id":"","url":"https://api.github.com/users/zspencer","html_url":"https://github.com/zspencer","followers_url":"https://api.github.com/users/zspencer/followers","following_url":"https://api.github.com/users/zspencer/following{/other_user}","gists_url":"https://api.github.com/users/zspencer/gists{/gist_id}","starred_url":"https://api.github.com/users/zspencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zspencer/subscriptions","organizations_url":"https://api.github.com/users/zspencer/orgs","repos_url":"https://api.github.com/users/zspencer/repos","events_url":"https://api.github.com/users/zspencer/events{/privacy}","received_events_url":"https://api.github.com/users/zspencer/received_events","type":"User","site_admin":false},"body":"- [ ] Update authenticate.js to query the database\r\n- [ ] Maybe encapsualte database connection creation?\r\n- [ ] Maybe use a SQL builder instead of plain old strings?! (HOW INJECTION)\r\n- [ ] Rename the `username` form field to `email` for passport somehow\r\n- [ ] FEATURE TEST?!\r\n- [ ] Unit test?","created_at":"2015-11-21T00:07:48Z","updated_at":"2015-11-21T00:07:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3/commits","review_comments_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3/comments","review_comment_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/3/comments","statuses_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/statuses/f101516a601cb167a7892767508da9c45c701c4d","head":{"label":"zincmade:passport","ref":"passport","sha":"f101516a601cb167a7892767508da9c45c701c4d","user":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"repo":{"id":46193132,"name":"members.apprenticeship.community","full_name":"zincmade/members.apprenticeship.community","owner":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zincmade/members.apprenticeship.community","description":"","fork":false,"url":"https://api.github.com/repos/zincmade/members.apprenticeship.community","forks_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/forks","keys_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/teams","hooks_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/hooks","issue_events_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/events{/number}","events_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/events","assignees_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/assignees{/user}","branches_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/branches{/branch}","tags_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/tags","blobs_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/refs{/sha}","trees_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/statuses/{sha}","languages_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/languages","stargazers_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/stargazers","contributors_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/contributors","subscribers_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/subscribers","subscription_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/subscription","commits_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/commits{/sha}","git_commits_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/commits{/sha}","comments_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/comments{/number}","issue_comment_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/comments{/number}","contents_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/contents/{+path}","compare_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/merges","archive_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/downloads","issues_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues{/number}","pulls_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls{/number}","milestones_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/milestones{/number}","notifications_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/labels{/name}","releases_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/releases{/id}","created_at":"2015-11-14T21:37:58Z","updated_at":"2015-11-20T21:52:05Z","pushed_at":"2015-11-21T00:03:02Z","git_url":"git://github.com/zincmade/members.apprenticeship.community.git","ssh_url":"git@github.com:zincmade/members.apprenticeship.community.git","clone_url":"https://github.com/zincmade/members.apprenticeship.community.git","svn_url":"https://github.com/zincmade/members.apprenticeship.community","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"primary"}},"base":{"label":"zincmade:primary","ref":"primary","sha":"0520b5e23ebe7f620009c48e599be09df7f60341","user":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"repo":{"id":46193132,"name":"members.apprenticeship.community","full_name":"zincmade/members.apprenticeship.community","owner":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zincmade/members.apprenticeship.community","description":"","fork":false,"url":"https://api.github.com/repos/zincmade/members.apprenticeship.community","forks_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/forks","keys_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/teams","hooks_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/hooks","issue_events_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/events{/number}","events_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/events","assignees_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/assignees{/user}","branches_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/branches{/branch}","tags_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/tags","blobs_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/refs{/sha}","trees_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/statuses/{sha}","languages_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/languages","stargazers_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/stargazers","contributors_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/contributors","subscribers_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/subscribers","subscription_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/subscription","commits_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/commits{/sha}","git_commits_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/git/commits{/sha}","comments_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/comments{/number}","issue_comment_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/comments{/number}","contents_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/contents/{+path}","compare_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/merges","archive_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/downloads","issues_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues{/number}","pulls_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls{/number}","milestones_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/milestones{/number}","notifications_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/labels{/name}","releases_url":"https://api.github.com/repos/zincmade/members.apprenticeship.community/releases{/id}","created_at":"2015-11-14T21:37:58Z","updated_at":"2015-11-20T21:52:05Z","pushed_at":"2015-11-21T00:03:02Z","git_url":"git://github.com/zincmade/members.apprenticeship.community.git","ssh_url":"git@github.com:zincmade/members.apprenticeship.community.git","clone_url":"https://github.com/zincmade/members.apprenticeship.community.git","svn_url":"https://github.com/zincmade/members.apprenticeship.community","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"primary"}},"_links":{"self":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3"},"html":{"href":"https://github.com/zincmade/members.apprenticeship.community/pull/3"},"issue":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/3"},"comments":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/zincmade/members.apprenticeship.community/statuses/f101516a601cb167a7892767508da9c45c701c4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":61,"deletions":5,"changed_files":6}}