{"action":"created","comment":{"url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments/228497243","pull_request_review_id":168785442,"id":228497243,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODQ5NzI0Mw==","diff_hunk":"@@ -0,0 +1,91 @@\n+import React, { Fragment } from 'react';\n+import PropTypes from 'prop-types';\n+import { connect } from 'react-redux';\n+\n+import FooterBrand from 'Components/compounds/FooterBrand';\n+import BasicNav from 'Components/compounds/BasicNav';\n+import InputField from 'Components/atoms/InputField/InputField';\n+import { resetVerifiedUserPassword } from 'Actions/resetPasswordActions';\n+import validatePassword from 'Utils/validatePassword';\n+import Alert from 'Utils/helpers/alert';\n+import logo from 'Images/logo.png';\n+import './style.scss';\n+\n+export class UpdatePassword extends React.Component {\n+  constructor(props) {\n+    super(props);\n+    this.state = {\n+      userInfo: {\n+        password: '',\n+        confirmPassword: ''\n+      }\n+    };\n+  }\n+\n+  handleChange = (e) => {\n+    const { userInfo } = this.state;\n+    const newUserInfo = { ...userInfo };\n+    newUserInfo[`${e.target.name}`] = e.target.value;\n+    this.setState({\n+      userInfo: newUserInfo\n+    });\n+  }\n+\n+  handleSubmit = (e) => {\n+    e.preventDefault();\n+    const { userInfo } = this.state;\n+    // eslint-disable-next-line","path":"src/pages/UpdatePassword/index.js","position":37,"original_position":37,"commit_id":"4ad413fa1cea6ea1326077060007e38e9cdd8ac3","original_commit_id":"4ad413fa1cea6ea1326077060007e38e9cdd8ac3","user":{"login":"iAmao","id":25608320,"node_id":"MDQ6VXNlcjI1NjA4MzIw","avatar_url":"https://avatars1.githubusercontent.com/u/25608320?v=4","gravatar_id":"","url":"https://api.github.com/users/iAmao","html_url":"https://github.com/iAmao","followers_url":"https://api.github.com/users/iAmao/followers","following_url":"https://api.github.com/users/iAmao/following{/other_user}","gists_url":"https://api.github.com/users/iAmao/gists{/gist_id}","starred_url":"https://api.github.com/users/iAmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iAmao/subscriptions","organizations_url":"https://api.github.com/users/iAmao/orgs","repos_url":"https://api.github.com/users/iAmao/repos","events_url":"https://api.github.com/users/iAmao/events{/privacy}","received_events_url":"https://api.github.com/users/iAmao/received_events","type":"User","site_admin":false},"body":"👀 ","created_at":"2018-10-26T11:45:49Z","updated_at":"2018-10-26T11:48:12Z","html_url":"https://github.com/andela/metis-ah-frontend/pull/25#discussion_r228497243","pull_request_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments/228497243"},"html":{"href":"https://github.com/andela/metis-ah-frontend/pull/25#discussion_r228497243"},"pull_request":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25","id":226060982,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MDYwOTgy","html_url":"https://github.com/andela/metis-ah-frontend/pull/25","diff_url":"https://github.com/andela/metis-ah-frontend/pull/25.diff","patch_url":"https://github.com/andela/metis-ah-frontend/pull/25.patch","issue_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/25","number":25,"state":"open","locked":false,"title":"#159987362 user should be able to reset password","user":{"login":"johngorithm","id":30831276,"node_id":"MDQ6VXNlcjMwODMxMjc2","avatar_url":"https://avatars2.githubusercontent.com/u/30831276?v=4","gravatar_id":"","url":"https://api.github.com/users/johngorithm","html_url":"https://github.com/johngorithm","followers_url":"https://api.github.com/users/johngorithm/followers","following_url":"https://api.github.com/users/johngorithm/following{/other_user}","gists_url":"https://api.github.com/users/johngorithm/gists{/gist_id}","starred_url":"https://api.github.com/users/johngorithm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngorithm/subscriptions","organizations_url":"https://api.github.com/users/johngorithm/orgs","repos_url":"https://api.github.com/users/johngorithm/repos","events_url":"https://api.github.com/users/johngorithm/events{/privacy}","received_events_url":"https://api.github.com/users/johngorithm/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nuser should be able to reset password\r\n\r\n#### Description of Task to be completed?\r\n- create a view for email verification\r\n- create a view for password update\r\n- manage state with redux\r\n- connect views to backend\r\n- validate input\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#159987362\r\n\r\n#### Screenshots\r\n#### Reset Password Request pages\r\n<img width=\"1440\" alt=\"screen shot 2018-10-26 at 11 58 29 am\" src=\"https://user-images.githubusercontent.com/30831276/47562853-d375fb80-d917-11e8-8f15-91dd0b52240f.png\">\r\n\r\n#### Update Password page\r\n<img width=\"1440\" alt=\"screen shot 2018-10-26 at 12 00 29 pm\" src=\"https://user-images.githubusercontent.com/30831276/47562946-251e8600-d918-11e8-99ae-e124603b676b.png\">\r\n\r\n\r\n","created_at":"2018-10-26T11:11:10Z","updated_at":"2018-10-26T11:48:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25/commits","review_comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25/comments","review_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/25/comments","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/4ad413fa1cea6ea1326077060007e38e9cdd8ac3","head":{"label":"andela:ft-user-should-be-able-to-reset-password-159987362","ref":"ft-user-should-be-able-to-reset-password-159987362","sha":"4ad413fa1cea6ea1326077060007e38e9cdd8ac3","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151224437,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjQ0Mzc=","name":"metis-ah-frontend","full_name":"andela/metis-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/metis-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/metis-ah-frontend","forks_url":"https://api.github.com/repos/andela/metis-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/metis-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/metis-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/metis-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/metis-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/metis-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/metis-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/metis-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/metis-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/metis-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/metis-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/metis-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/metis-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/metis-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/metis-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/metis-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/metis-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/metis-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/metis-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/metis-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/metis-ah-frontend/deployments","created_at":"2018-10-02T08:35:23Z","updated_at":"2018-10-26T11:07:04Z","pushed_at":"2018-10-26T11:11:11Z","git_url":"git://github.com/andela/metis-ah-frontend.git","ssh_url":"git@github.com:andela/metis-ah-frontend.git","clone_url":"https://github.com/andela/metis-ah-frontend.git","svn_url":"https://github.com/andela/metis-ah-frontend","homepage":null,"size":19847,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"44b981e9145a71e440543ca9a8ed6823f0082360","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151224437,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjQ0Mzc=","name":"metis-ah-frontend","full_name":"andela/metis-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/metis-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/metis-ah-frontend","forks_url":"https://api.github.com/repos/andela/metis-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/metis-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/metis-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/metis-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/metis-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/metis-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/metis-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/metis-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/metis-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/metis-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/metis-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/metis-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/metis-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/metis-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/metis-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/metis-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/metis-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/metis-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/metis-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/metis-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/metis-ah-frontend/deployments","created_at":"2018-10-02T08:35:23Z","updated_at":"2018-10-26T11:07:04Z","pushed_at":"2018-10-26T11:11:11Z","git_url":"git://github.com/andela/metis-ah-frontend.git","ssh_url":"git@github.com:andela/metis-ah-frontend.git","clone_url":"https://github.com/andela/metis-ah-frontend.git","svn_url":"https://github.com/andela/metis-ah-frontend","homepage":null,"size":19847,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25"},"html":{"href":"https://github.com/andela/metis-ah-frontend/pull/25"},"issue":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/issues/25"},"comments":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/4ad413fa1cea6ea1326077060007e38e9cdd8ac3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"iAmao"}}