{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/datagovuk/dgu2/pulls/10","id":80605676,"html_url":"https://github.com/datagovuk/dgu2/pull/10","diff_url":"https://github.com/datagovuk/dgu2/pull/10.diff","patch_url":"https://github.com/datagovuk/dgu2/pull/10.patch","issue_url":"https://api.github.com/repos/datagovuk/dgu2/issues/10","number":10,"state":"open","locked":false,"title":"Simple user auth with username and password.","user":{"login":"rossjones","id":118063,"avatar_url":"https://avatars.githubusercontent.com/u/118063?v=3","gravatar_id":"","url":"https://api.github.com/users/rossjones","html_url":"https://github.com/rossjones","followers_url":"https://api.github.com/users/rossjones/followers","following_url":"https://api.github.com/users/rossjones/following{/other_user}","gists_url":"https://api.github.com/users/rossjones/gists{/gist_id}","starred_url":"https://api.github.com/users/rossjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossjones/subscriptions","organizations_url":"https://api.github.com/users/rossjones/orgs","repos_url":"https://api.github.com/users/rossjones/repos","events_url":"https://api.github.com/users/rossjones/events{/privacy}","received_events_url":"https://api.github.com/users/rossjones/received_events","type":"User","site_admin":false},"body":"Requires a ```mix deps.get``` for the bcrypt dependency.\r\n\r\nSimple user registration, login and logout based on http://nithinbekal.com/posts/phoenix-authentication/ which should be more than adequate for a prototype.","created_at":"2016-08-09T11:42:26Z","updated_at":"2016-08-09T11:42:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/datagovuk/dgu2/pulls/10/commits","review_comments_url":"https://api.github.com/repos/datagovuk/dgu2/pulls/10/comments","review_comment_url":"https://api.github.com/repos/datagovuk/dgu2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datagovuk/dgu2/issues/10/comments","statuses_url":"https://api.github.com/repos/datagovuk/dgu2/statuses/f0e0230ce22a6109c1afd5591663629e2d926ca4","head":{"label":"datagovuk:user-auth","ref":"user-auth","sha":"f0e0230ce22a6109c1afd5591663629e2d926ca4","user":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"repo":{"id":64299059,"name":"dgu2","full_name":"datagovuk/dgu2","owner":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datagovuk/dgu2","description":null,"fork":false,"url":"https://api.github.com/repos/datagovuk/dgu2","forks_url":"https://api.github.com/repos/datagovuk/dgu2/forks","keys_url":"https://api.github.com/repos/datagovuk/dgu2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datagovuk/dgu2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datagovuk/dgu2/teams","hooks_url":"https://api.github.com/repos/datagovuk/dgu2/hooks","issue_events_url":"https://api.github.com/repos/datagovuk/dgu2/issues/events{/number}","events_url":"https://api.github.com/repos/datagovuk/dgu2/events","assignees_url":"https://api.github.com/repos/datagovuk/dgu2/assignees{/user}","branches_url":"https://api.github.com/repos/datagovuk/dgu2/branches{/branch}","tags_url":"https://api.github.com/repos/datagovuk/dgu2/tags","blobs_url":"https://api.github.com/repos/datagovuk/dgu2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datagovuk/dgu2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datagovuk/dgu2/git/refs{/sha}","trees_url":"https://api.github.com/repos/datagovuk/dgu2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datagovuk/dgu2/statuses/{sha}","languages_url":"https://api.github.com/repos/datagovuk/dgu2/languages","stargazers_url":"https://api.github.com/repos/datagovuk/dgu2/stargazers","contributors_url":"https://api.github.com/repos/datagovuk/dgu2/contributors","subscribers_url":"https://api.github.com/repos/datagovuk/dgu2/subscribers","subscription_url":"https://api.github.com/repos/datagovuk/dgu2/subscription","commits_url":"https://api.github.com/repos/datagovuk/dgu2/commits{/sha}","git_commits_url":"https://api.github.com/repos/datagovuk/dgu2/git/commits{/sha}","comments_url":"https://api.github.com/repos/datagovuk/dgu2/comments{/number}","issue_comment_url":"https://api.github.com/repos/datagovuk/dgu2/issues/comments{/number}","contents_url":"https://api.github.com/repos/datagovuk/dgu2/contents/{+path}","compare_url":"https://api.github.com/repos/datagovuk/dgu2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datagovuk/dgu2/merges","archive_url":"https://api.github.com/repos/datagovuk/dgu2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datagovuk/dgu2/downloads","issues_url":"https://api.github.com/repos/datagovuk/dgu2/issues{/number}","pulls_url":"https://api.github.com/repos/datagovuk/dgu2/pulls{/number}","milestones_url":"https://api.github.com/repos/datagovuk/dgu2/milestones{/number}","notifications_url":"https://api.github.com/repos/datagovuk/dgu2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datagovuk/dgu2/labels{/name}","releases_url":"https://api.github.com/repos/datagovuk/dgu2/releases{/id}","deployments_url":"https://api.github.com/repos/datagovuk/dgu2/deployments","created_at":"2016-07-27T10:18:32Z","updated_at":"2016-08-03T09:26:39Z","pushed_at":"2016-08-09T11:41:09Z","git_url":"git://github.com/datagovuk/dgu2.git","ssh_url":"git@github.com:datagovuk/dgu2.git","clone_url":"https://github.com/datagovuk/dgu2.git","svn_url":"https://github.com/datagovuk/dgu2","homepage":null,"size":5589,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"datagovuk:master","ref":"master","sha":"f6b564510ecbf916ea3dd49d06ee3358b5e29dfa","user":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"repo":{"id":64299059,"name":"dgu2","full_name":"datagovuk/dgu2","owner":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datagovuk/dgu2","description":null,"fork":false,"url":"https://api.github.com/repos/datagovuk/dgu2","forks_url":"https://api.github.com/repos/datagovuk/dgu2/forks","keys_url":"https://api.github.com/repos/datagovuk/dgu2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datagovuk/dgu2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datagovuk/dgu2/teams","hooks_url":"https://api.github.com/repos/datagovuk/dgu2/hooks","issue_events_url":"https://api.github.com/repos/datagovuk/dgu2/issues/events{/number}","events_url":"https://api.github.com/repos/datagovuk/dgu2/events","assignees_url":"https://api.github.com/repos/datagovuk/dgu2/assignees{/user}","branches_url":"https://api.github.com/repos/datagovuk/dgu2/branches{/branch}","tags_url":"https://api.github.com/repos/datagovuk/dgu2/tags","blobs_url":"https://api.github.com/repos/datagovuk/dgu2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datagovuk/dgu2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datagovuk/dgu2/git/refs{/sha}","trees_url":"https://api.github.com/repos/datagovuk/dgu2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datagovuk/dgu2/statuses/{sha}","languages_url":"https://api.github.com/repos/datagovuk/dgu2/languages","stargazers_url":"https://api.github.com/repos/datagovuk/dgu2/stargazers","contributors_url":"https://api.github.com/repos/datagovuk/dgu2/contributors","subscribers_url":"https://api.github.com/repos/datagovuk/dgu2/subscribers","subscription_url":"https://api.github.com/repos/datagovuk/dgu2/subscription","commits_url":"https://api.github.com/repos/datagovuk/dgu2/commits{/sha}","git_commits_url":"https://api.github.com/repos/datagovuk/dgu2/git/commits{/sha}","comments_url":"https://api.github.com/repos/datagovuk/dgu2/comments{/number}","issue_comment_url":"https://api.github.com/repos/datagovuk/dgu2/issues/comments{/number}","contents_url":"https://api.github.com/repos/datagovuk/dgu2/contents/{+path}","compare_url":"https://api.github.com/repos/datagovuk/dgu2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datagovuk/dgu2/merges","archive_url":"https://api.github.com/repos/datagovuk/dgu2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datagovuk/dgu2/downloads","issues_url":"https://api.github.com/repos/datagovuk/dgu2/issues{/number}","pulls_url":"https://api.github.com/repos/datagovuk/dgu2/pulls{/number}","milestones_url":"https://api.github.com/repos/datagovuk/dgu2/milestones{/number}","notifications_url":"https://api.github.com/repos/datagovuk/dgu2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datagovuk/dgu2/labels{/name}","releases_url":"https://api.github.com/repos/datagovuk/dgu2/releases{/id}","deployments_url":"https://api.github.com/repos/datagovuk/dgu2/deployments","created_at":"2016-07-27T10:18:32Z","updated_at":"2016-08-03T09:26:39Z","pushed_at":"2016-08-09T11:41:09Z","git_url":"git://github.com/datagovuk/dgu2.git","ssh_url":"git@github.com:datagovuk/dgu2.git","clone_url":"https://github.com/datagovuk/dgu2.git","svn_url":"https://github.com/datagovuk/dgu2","homepage":null,"size":5589,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datagovuk/dgu2/pulls/10"},"html":{"href":"https://github.com/datagovuk/dgu2/pull/10"},"issue":{"href":"https://api.github.com/repos/datagovuk/dgu2/issues/10"},"comments":{"href":"https://api.github.com/repos/datagovuk/dgu2/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/datagovuk/dgu2/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/datagovuk/dgu2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datagovuk/dgu2/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/datagovuk/dgu2/statuses/f0e0230ce22a6109c1afd5591663629e2d926ca4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":289,"deletions":6,"changed_files":16}}
{"actor":{"display_login":"rossjones"}}