{"action":"created","comment":{"url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/comments/241900121","pull_request_review_id":185296710,"id":241900121,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTkwMDEyMQ==","diff_hunk":"@@ -126,6 +126,7 @@ describe('LoginPage.js Tests', () => {\n     wrapper.setState({mode: MODE.VALIDATING, maskedEmail: 'a@test.com', countDown: countDown})\n     wrapper.instance().startTimer()\n     expect(wrapper.state().mode).toEqual(MODE.CODE_EXPIRED)\n+    expect(wrapper.state().code).toEqual('')","path":"src/components/LoginPage.test.js","position":4,"original_position":4,"commit_id":"1b12442f565672c337266b42845c6d29a17f388b","original_commit_id":"0fe554e6dc6806e5dc87e936aef37f5f18a8c987","user":{"login":"ratneshraval","id":2159146,"node_id":"MDQ6VXNlcjIxNTkxNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2159146?v=4","gravatar_id":"","url":"https://api.github.com/users/ratneshraval","html_url":"https://github.com/ratneshraval","followers_url":"https://api.github.com/users/ratneshraval/followers","following_url":"https://api.github.com/users/ratneshraval/following{/other_user}","gists_url":"https://api.github.com/users/ratneshraval/gists{/gist_id}","starred_url":"https://api.github.com/users/ratneshraval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratneshraval/subscriptions","organizations_url":"https://api.github.com/users/ratneshraval/orgs","repos_url":"https://api.github.com/users/ratneshraval/repos","events_url":"https://api.github.com/users/ratneshraval/events{/privacy}","received_events_url":"https://api.github.com/users/ratneshraval/received_events","type":"User","site_admin":false},"body":"What @kelfink is saying makes sense. And it works that way too. \r\nHe is suggesting that you set code in line 126 and so we can show that code gets cleared. ","created_at":"2018-12-14T21:45:01Z","updated_at":"2018-12-14T21:45:01Z","html_url":"https://github.com/ca-cwds/cognito-custom-login/pull/99#discussion_r241900121","pull_request_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/comments/241900121"},"html":{"href":"https://github.com/ca-cwds/cognito-custom-login/pull/99#discussion_r241900121"},"pull_request":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99"}},"in_reply_to_id":241861333},"pull_request":{"url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99","id":238814732,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4ODE0NzMy","html_url":"https://github.com/ca-cwds/cognito-custom-login/pull/99","diff_url":"https://github.com/ca-cwds/cognito-custom-login/pull/99.diff","patch_url":"https://github.com/ca-cwds/cognito-custom-login/pull/99.patch","issue_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/99","number":99,"state":"open","locked":false,"title":"COG-988 Old MFA Verification code field should not be retained in MFA page when user re-logs in after MFA session time out","user":{"login":"Nasir2712","id":8887704,"node_id":"MDQ6VXNlcjg4ODc3MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8887704?v=4","gravatar_id":"","url":"https://api.github.com/users/Nasir2712","html_url":"https://github.com/Nasir2712","followers_url":"https://api.github.com/users/Nasir2712/followers","following_url":"https://api.github.com/users/Nasir2712/following{/other_user}","gists_url":"https://api.github.com/users/Nasir2712/gists{/gist_id}","starred_url":"https://api.github.com/users/Nasir2712/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nasir2712/subscriptions","organizations_url":"https://api.github.com/users/Nasir2712/orgs","repos_url":"https://api.github.com/users/Nasir2712/repos","events_url":"https://api.github.com/users/Nasir2712/events{/privacy}","received_events_url":"https://api.github.com/users/Nasir2712/received_events","type":"User","site_admin":false},"body":"https://osi-cwds.atlassian.net/browse/COG-988","created_at":"2018-12-14T19:08:03Z","updated_at":"2018-12-14T21:45:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"134bd7160aa03efa72c75868368228c343d678da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99/commits","review_comments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99/comments","review_comment_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/99/comments","statuses_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/statuses/1b12442f565672c337266b42845c6d29a17f388b","head":{"label":"ca-cwds:COG-988-Old-verification-should-not-exist","ref":"COG-988-Old-verification-should-not-exist","sha":"1b12442f565672c337266b42845c6d29a17f388b","user":{"login":"ca-cwds","id":16274270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Mjc0Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":140878233,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4NzgyMzM=","name":"cognito-custom-login","full_name":"ca-cwds/cognito-custom-login","private":false,"owner":{"login":"ca-cwds","id":16274270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Mjc0Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ca-cwds/cognito-custom-login","description":null,"fork":false,"url":"https://api.github.com/repos/ca-cwds/cognito-custom-login","forks_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/forks","keys_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/teams","hooks_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/events","assignees_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/tags","blobs_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/subscription","commits_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/merges","archive_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/downloads","issues_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/deployments","created_at":"2018-07-13T18:01:50Z","updated_at":"2018-12-14T19:14:54Z","pushed_at":"2018-12-14T19:16:35Z","git_url":"git://github.com/ca-cwds/cognito-custom-login.git","ssh_url":"git@github.com:ca-cwds/cognito-custom-login.git","clone_url":"https://github.com/ca-cwds/cognito-custom-login.git","svn_url":"https://github.com/ca-cwds/cognito-custom-login","homepage":null,"size":577,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ca-cwds:master","ref":"master","sha":"1519b2006f78827515acb886f448a8892b8ea15e","user":{"login":"ca-cwds","id":16274270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Mjc0Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":140878233,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4NzgyMzM=","name":"cognito-custom-login","full_name":"ca-cwds/cognito-custom-login","private":false,"owner":{"login":"ca-cwds","id":16274270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Mjc0Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ca-cwds/cognito-custom-login","description":null,"fork":false,"url":"https://api.github.com/repos/ca-cwds/cognito-custom-login","forks_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/forks","keys_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/teams","hooks_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/events","assignees_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/tags","blobs_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/subscription","commits_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/merges","archive_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/downloads","issues_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/cognito-custom-login/deployments","created_at":"2018-07-13T18:01:50Z","updated_at":"2018-12-14T19:14:54Z","pushed_at":"2018-12-14T19:16:35Z","git_url":"git://github.com/ca-cwds/cognito-custom-login.git","ssh_url":"git@github.com:ca-cwds/cognito-custom-login.git","clone_url":"https://github.com/ca-cwds/cognito-custom-login.git","svn_url":"https://github.com/ca-cwds/cognito-custom-login","homepage":null,"size":577,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99"},"html":{"href":"https://github.com/ca-cwds/cognito-custom-login/pull/99"},"issue":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/99"},"comments":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/ca-cwds/cognito-custom-login/statuses/1b12442f565672c337266b42845c6d29a17f388b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ratneshraval"}}