{"action":"opened","number":287,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287","id":95042777,"html_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/287","diff_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/287.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/287.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/287","number":287,"state":"open","locked":false,"title":"return email in password reset","user":{"login":"leohemsted","id":5020841,"avatar_url":"https://avatars.githubusercontent.com/u/5020841?v=3","gravatar_id":"","url":"https://api.github.com/users/leohemsted","html_url":"https://github.com/leohemsted","followers_url":"https://api.github.com/users/leohemsted/followers","following_url":"https://api.github.com/users/leohemsted/following{/other_user}","gists_url":"https://api.github.com/users/leohemsted/gists{/gist_id}","starred_url":"https://api.github.com/users/leohemsted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leohemsted/subscriptions","organizations_url":"https://api.github.com/users/leohemsted/orgs","repos_url":"https://api.github.com/users/leohemsted/repos","events_url":"https://api.github.com/users/leohemsted/events{/privacy}","received_events_url":"https://api.github.com/users/leohemsted/received_events","type":"User","site_admin":false},"body":"buyer-frontend previously relied on the fields `user` and `email` being in the\r\ntoken that it passes into decode_password_reset_token - as that function just\r\npassed them straight through. but by building the return dict from the user\r\nobject, we can remove the requirement on email_address being in the token\r\nso it isn't left unencrypted in our logs\r\n\r\ni think this is a minor change, but it might be a patch... it removes a previously required attribute of the `token` parameter but doesn't change the functionality or output","created_at":"2016-11-23T17:00:19Z","updated_at":"2016-11-23T17:00:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/287/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/39d1f4ab718c7e04fcfa9bdc998a981fc6f89ecc","head":{"label":"alphagov:password-reset-no-email","ref":"password-reset-no-email","sha":"39d1f4ab718c7e04fcfa9bdc998a981fc6f89ecc","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34396268,"name":"digitalmarketplace-utils","full_name":"alphagov/digitalmarketplace-utils","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-utils","description":"Common utils for Digital Marketplace apps.","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/deployments","created_at":"2015-04-22T14:47:45Z","updated_at":"2016-11-16T10:02:54Z","pushed_at":"2016-11-23T16:56:43Z","git_url":"git://github.com/alphagov/digitalmarketplace-utils.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-utils.git","clone_url":"https://github.com/alphagov/digitalmarketplace-utils.git","svn_url":"https://github.com/alphagov/digitalmarketplace-utils","homepage":null,"size":717,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"ff7a80bda5ff8528edfbc93e7cde0dca00614e94","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34396268,"name":"digitalmarketplace-utils","full_name":"alphagov/digitalmarketplace-utils","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-utils","description":"Common utils for Digital Marketplace apps.","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/deployments","created_at":"2015-04-22T14:47:45Z","updated_at":"2016-11-16T10:02:54Z","pushed_at":"2016-11-23T16:56:43Z","git_url":"git://github.com/alphagov/digitalmarketplace-utils.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-utils.git","clone_url":"https://github.com/alphagov/digitalmarketplace-utils.git","svn_url":"https://github.com/alphagov/digitalmarketplace-utils","homepage":null,"size":717,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-utils/pull/287"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/287"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/39d1f4ab718c7e04fcfa9bdc998a981fc6f89ecc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":14,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"leohemsted"}}