{"action":"opened","number":227,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227","id":55896743,"html_url":"https://github.com/ministryofjustice/peoplefinder/pull/227","diff_url":"https://github.com/ministryofjustice/peoplefinder/pull/227.diff","patch_url":"https://github.com/ministryofjustice/peoplefinder/pull/227.patch","issue_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/227","number":227,"state":"open","locked":false,"title":"Don't invalidate token after login","user":{"login":"robmckinnon","id":3447,"avatar_url":"https://avatars.githubusercontent.com/u/3447?v=3","gravatar_id":"","url":"https://api.github.com/users/robmckinnon","html_url":"https://github.com/robmckinnon","followers_url":"https://api.github.com/users/robmckinnon/followers","following_url":"https://api.github.com/users/robmckinnon/following{/other_user}","gists_url":"https://api.github.com/users/robmckinnon/gists{/gist_id}","starred_url":"https://api.github.com/users/robmckinnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmckinnon/subscriptions","organizations_url":"https://api.github.com/users/robmckinnon/orgs","repos_url":"https://api.github.com/users/robmckinnon/repos","events_url":"https://api.github.com/users/robmckinnon/events{/privacy}","received_events_url":"https://api.github.com/users/robmckinnon/received_events","type":"User","site_admin":false},"body":"User research has shown users click on token link in login email more than once. They get confused and frustrated when it does not work a second time.\r\n\r\nSolution is to let token work for duration of its time to live.","created_at":"2016-01-13T13:25:44Z","updated_at":"2016-01-13T13:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/227/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/90a74af5351a80c8c44cb12e6fc33b9e0b84a86e","head":{"label":"ministryofjustice:dont-invalidate-token","ref":"dont-invalidate-token","sha":"90a74af5351a80c8c44cb12e6fc33b9e0b84a86e","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2016-01-12T12:06:14Z","pushed_at":"2016-01-13T13:25:09Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":"https://peoplefinder.service.gov.uk/","size":5018,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"94b282aa1d453ea52f82ffc6a3cc2821696f680f","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2016-01-12T12:06:14Z","pushed_at":"2016-01-13T13:25:09Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":"https://peoplefinder.service.gov.uk/","size":5018,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227"},"html":{"href":"https://github.com/ministryofjustice/peoplefinder/pull/227"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/227"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/227/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/227/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/90a74af5351a80c8c44cb12e6fc33b9e0b84a86e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":3,"changed_files":2}}