{"action":"created","comment":{"url":"https://api.github.com/repos/jolocom/little-sister/pulls/comments/91245401","pull_request_review_id":11753089,"id":91245401,"diff_hunk":"@@ -26,29 +27,26 @@ export default Reflux.createStore({\n     const usr = encodeURIComponent(data.username)\n     const psw = encodeURIComponent(data.password)\n     const eml = encodeURIComponent(data.email)\n+    const name = encodeURIComponent(data.name)\n \n     fetch(`${proxy}/register`, {\n       method: 'POST',\n-      body: `username=${usr}&password=${psw}&email=${eml}`,\n+      body: `username=${usr}&password=${psw}&name=${name}&email=${eml}`,\n       headers: {\n         'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'\n       }\n-    })\n-    .then((res) => {\n+    }).then((res) => {\n       if (res.status === 400) {\n         throw new Error('USERNAME_TAKEN')\n       }\n-      res.json().then(() => {\n+      this.state = {\n+        emailVerifyScreen: true\n+      }\n+      this.trigger(this.state)\n+      res.json().then((js) => {\n         if (data.name || data.email) {\n-          let payload = {\n-            name: data.name,\n-            email: data.email\n-          }\n-          Account.login(data.username, data.password, payload)\n-        } else {\n-          Account.login(data.username, data.password)\n+          this.onSetNameEmail(js.webid, data.name, data.email)","path":"src/js/stores/account.js","position":43,"original_position":43,"commit_id":"a01497c1f1f2012733fb93c848aa6708d9ff1d38","original_commit_id":"a01497c1f1f2012733fb93c848aa6708d9ff1d38","user":{"login":"Exulansis","id":11832807,"avatar_url":"https://avatars.githubusercontent.com/u/11832807?v=3","gravatar_id":"","url":"https://api.github.com/users/Exulansis","html_url":"https://github.com/Exulansis","followers_url":"https://api.github.com/users/Exulansis/followers","following_url":"https://api.github.com/users/Exulansis/following{/other_user}","gists_url":"https://api.github.com/users/Exulansis/gists{/gist_id}","starred_url":"https://api.github.com/users/Exulansis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exulansis/subscriptions","organizations_url":"https://api.github.com/users/Exulansis/orgs","repos_url":"https://api.github.com/users/Exulansis/repos","events_url":"https://api.github.com/users/Exulansis/events{/privacy}","received_events_url":"https://api.github.com/users/Exulansis/received_events","type":"User","site_admin":false},"body":"This function does not work anymore, because we attempt to send a patch request to an account that has not been 'activated' yet, therefore the requests fail.","created_at":"2016-12-07T08:29:53Z","updated_at":"2016-12-07T08:29:53Z","html_url":"https://github.com/jolocom/little-sister/pull/457#discussion_r91245401","pull_request_url":"https://api.github.com/repos/jolocom/little-sister/pulls/457","_links":{"self":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/comments/91245401"},"html":{"href":"https://github.com/jolocom/little-sister/pull/457#discussion_r91245401"},"pull_request":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/457"}}},"pull_request":{"url":"https://api.github.com/repos/jolocom/little-sister/pulls/457","id":96756719,"html_url":"https://github.com/jolocom/little-sister/pull/457","diff_url":"https://github.com/jolocom/little-sister/pull/457.diff","patch_url":"https://github.com/jolocom/little-sister/pull/457.patch","issue_url":"https://api.github.com/repos/jolocom/little-sister/issues/457","number":457,"state":"open","locked":false,"title":"Feature/#429 email verification ui","user":{"login":"DCooksey","id":6922804,"avatar_url":"https://avatars.githubusercontent.com/u/6922804?v=3","gravatar_id":"","url":"https://api.github.com/users/DCooksey","html_url":"https://github.com/DCooksey","followers_url":"https://api.github.com/users/DCooksey/followers","following_url":"https://api.github.com/users/DCooksey/following{/other_user}","gists_url":"https://api.github.com/users/DCooksey/gists{/gist_id}","starred_url":"https://api.github.com/users/DCooksey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DCooksey/subscriptions","organizations_url":"https://api.github.com/users/DCooksey/orgs","repos_url":"https://api.github.com/users/DCooksey/repos","events_url":"https://api.github.com/users/DCooksey/events{/privacy}","received_events_url":"https://api.github.com/users/DCooksey/received_events","type":"User","site_admin":false},"body":"The email verification is working, please check it out and let me know!\r\n\r\nYou will receive an email with an activation link. Make sure your link is formatted as:\r\n\r\nhttps://localhost:8080/#/verify-email/YOURUSERNAME/YOURCODE\r\n\r\nTherefore, just replace the littlesister.jolocom.com with localhost and the port that the app is running on from your activation link.\r\n\r\nYou will receive a bad gateway error if you don't make the alteration /!\\","created_at":"2016-12-06T16:25:22Z","updated_at":"2016-12-07T08:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81f8f3fbcc795f783831bd8275346aa8017e301e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jolocom/little-sister/pulls/457/commits","review_comments_url":"https://api.github.com/repos/jolocom/little-sister/pulls/457/comments","review_comment_url":"https://api.github.com/repos/jolocom/little-sister/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jolocom/little-sister/issues/457/comments","statuses_url":"https://api.github.com/repos/jolocom/little-sister/statuses/a01497c1f1f2012733fb93c848aa6708d9ff1d38","head":{"label":"jolocom:feature/#429-email-verification-ui","ref":"feature/#429-email-verification-ui","sha":"a01497c1f1f2012733fb93c848aa6708d9ff1d38","user":{"login":"jolocom","id":4603324,"avatar_url":"https://avatars.githubusercontent.com/u/4603324?v=3","gravatar_id":"","url":"https://api.github.com/users/jolocom","html_url":"https://github.com/jolocom","followers_url":"https://api.github.com/users/jolocom/followers","following_url":"https://api.github.com/users/jolocom/following{/other_user}","gists_url":"https://api.github.com/users/jolocom/gists{/gist_id}","starred_url":"https://api.github.com/users/jolocom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolocom/subscriptions","organizations_url":"https://api.github.com/users/jolocom/orgs","repos_url":"https://api.github.com/users/jolocom/repos","events_url":"https://api.github.com/users/jolocom/events{/privacy}","received_events_url":"https://api.github.com/users/jolocom/received_events","type":"Organization","site_admin":false},"repo":{"id":39915680,"name":"little-sister","full_name":"jolocom/little-sister","owner":{"login":"jolocom","id":4603324,"avatar_url":"https://avatars.githubusercontent.com/u/4603324?v=3","gravatar_id":"","url":"https://api.github.com/users/jolocom","html_url":"https://github.com/jolocom","followers_url":"https://api.github.com/users/jolocom/followers","following_url":"https://api.github.com/users/jolocom/following{/other_user}","gists_url":"https://api.github.com/users/jolocom/gists{/gist_id}","starred_url":"https://api.github.com/users/jolocom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolocom/subscriptions","organizations_url":"https://api.github.com/users/jolocom/orgs","repos_url":"https://api.github.com/users/jolocom/repos","events_url":"https://api.github.com/users/jolocom/events{/privacy}","received_events_url":"https://api.github.com/users/jolocom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jolocom/little-sister","description":"Social app / linked data explorer built for SoLiD infrastracture","fork":false,"url":"https://api.github.com/repos/jolocom/little-sister","forks_url":"https://api.github.com/repos/jolocom/little-sister/forks","keys_url":"https://api.github.com/repos/jolocom/little-sister/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jolocom/little-sister/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jolocom/little-sister/teams","hooks_url":"https://api.github.com/repos/jolocom/little-sister/hooks","issue_events_url":"https://api.github.com/repos/jolocom/little-sister/issues/events{/number}","events_url":"https://api.github.com/repos/jolocom/little-sister/events","assignees_url":"https://api.github.com/repos/jolocom/little-sister/assignees{/user}","branches_url":"https://api.github.com/repos/jolocom/little-sister/branches{/branch}","tags_url":"https://api.github.com/repos/jolocom/little-sister/tags","blobs_url":"https://api.github.com/repos/jolocom/little-sister/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jolocom/little-sister/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jolocom/little-sister/git/refs{/sha}","trees_url":"https://api.github.com/repos/jolocom/little-sister/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jolocom/little-sister/statuses/{sha}","languages_url":"https://api.github.com/repos/jolocom/little-sister/languages","stargazers_url":"https://api.github.com/repos/jolocom/little-sister/stargazers","contributors_url":"https://api.github.com/repos/jolocom/little-sister/contributors","subscribers_url":"https://api.github.com/repos/jolocom/little-sister/subscribers","subscription_url":"https://api.github.com/repos/jolocom/little-sister/subscription","commits_url":"https://api.github.com/repos/jolocom/little-sister/commits{/sha}","git_commits_url":"https://api.github.com/repos/jolocom/little-sister/git/commits{/sha}","comments_url":"https://api.github.com/repos/jolocom/little-sister/comments{/number}","issue_comment_url":"https://api.github.com/repos/jolocom/little-sister/issues/comments{/number}","contents_url":"https://api.github.com/repos/jolocom/little-sister/contents/{+path}","compare_url":"https://api.github.com/repos/jolocom/little-sister/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jolocom/little-sister/merges","archive_url":"https://api.github.com/repos/jolocom/little-sister/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jolocom/little-sister/downloads","issues_url":"https://api.github.com/repos/jolocom/little-sister/issues{/number}","pulls_url":"https://api.github.com/repos/jolocom/little-sister/pulls{/number}","milestones_url":"https://api.github.com/repos/jolocom/little-sister/milestones{/number}","notifications_url":"https://api.github.com/repos/jolocom/little-sister/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jolocom/little-sister/labels{/name}","releases_url":"https://api.github.com/repos/jolocom/little-sister/releases{/id}","deployments_url":"https://api.github.com/repos/jolocom/little-sister/deployments","created_at":"2015-07-29T20:50:26Z","updated_at":"2016-10-25T10:10:50Z","pushed_at":"2016-12-07T08:25:37Z","git_url":"git://github.com/jolocom/little-sister.git","ssh_url":"git@github.com:jolocom/little-sister.git","clone_url":"https://github.com/jolocom/little-sister.git","svn_url":"https://github.com/jolocom/little-sister","homepage":null,"size":8691,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":125,"forks":2,"open_issues":125,"watchers":6,"default_branch":"develop"}},"base":{"label":"jolocom:develop","ref":"develop","sha":"54f6fdbb7b51516470feaf42493e50b2b61cb066","user":{"login":"jolocom","id":4603324,"avatar_url":"https://avatars.githubusercontent.com/u/4603324?v=3","gravatar_id":"","url":"https://api.github.com/users/jolocom","html_url":"https://github.com/jolocom","followers_url":"https://api.github.com/users/jolocom/followers","following_url":"https://api.github.com/users/jolocom/following{/other_user}","gists_url":"https://api.github.com/users/jolocom/gists{/gist_id}","starred_url":"https://api.github.com/users/jolocom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolocom/subscriptions","organizations_url":"https://api.github.com/users/jolocom/orgs","repos_url":"https://api.github.com/users/jolocom/repos","events_url":"https://api.github.com/users/jolocom/events{/privacy}","received_events_url":"https://api.github.com/users/jolocom/received_events","type":"Organization","site_admin":false},"repo":{"id":39915680,"name":"little-sister","full_name":"jolocom/little-sister","owner":{"login":"jolocom","id":4603324,"avatar_url":"https://avatars.githubusercontent.com/u/4603324?v=3","gravatar_id":"","url":"https://api.github.com/users/jolocom","html_url":"https://github.com/jolocom","followers_url":"https://api.github.com/users/jolocom/followers","following_url":"https://api.github.com/users/jolocom/following{/other_user}","gists_url":"https://api.github.com/users/jolocom/gists{/gist_id}","starred_url":"https://api.github.com/users/jolocom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolocom/subscriptions","organizations_url":"https://api.github.com/users/jolocom/orgs","repos_url":"https://api.github.com/users/jolocom/repos","events_url":"https://api.github.com/users/jolocom/events{/privacy}","received_events_url":"https://api.github.com/users/jolocom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jolocom/little-sister","description":"Social app / linked data explorer built for SoLiD infrastracture","fork":false,"url":"https://api.github.com/repos/jolocom/little-sister","forks_url":"https://api.github.com/repos/jolocom/little-sister/forks","keys_url":"https://api.github.com/repos/jolocom/little-sister/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jolocom/little-sister/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jolocom/little-sister/teams","hooks_url":"https://api.github.com/repos/jolocom/little-sister/hooks","issue_events_url":"https://api.github.com/repos/jolocom/little-sister/issues/events{/number}","events_url":"https://api.github.com/repos/jolocom/little-sister/events","assignees_url":"https://api.github.com/repos/jolocom/little-sister/assignees{/user}","branches_url":"https://api.github.com/repos/jolocom/little-sister/branches{/branch}","tags_url":"https://api.github.com/repos/jolocom/little-sister/tags","blobs_url":"https://api.github.com/repos/jolocom/little-sister/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jolocom/little-sister/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jolocom/little-sister/git/refs{/sha}","trees_url":"https://api.github.com/repos/jolocom/little-sister/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jolocom/little-sister/statuses/{sha}","languages_url":"https://api.github.com/repos/jolocom/little-sister/languages","stargazers_url":"https://api.github.com/repos/jolocom/little-sister/stargazers","contributors_url":"https://api.github.com/repos/jolocom/little-sister/contributors","subscribers_url":"https://api.github.com/repos/jolocom/little-sister/subscribers","subscription_url":"https://api.github.com/repos/jolocom/little-sister/subscription","commits_url":"https://api.github.com/repos/jolocom/little-sister/commits{/sha}","git_commits_url":"https://api.github.com/repos/jolocom/little-sister/git/commits{/sha}","comments_url":"https://api.github.com/repos/jolocom/little-sister/comments{/number}","issue_comment_url":"https://api.github.com/repos/jolocom/little-sister/issues/comments{/number}","contents_url":"https://api.github.com/repos/jolocom/little-sister/contents/{+path}","compare_url":"https://api.github.com/repos/jolocom/little-sister/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jolocom/little-sister/merges","archive_url":"https://api.github.com/repos/jolocom/little-sister/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jolocom/little-sister/downloads","issues_url":"https://api.github.com/repos/jolocom/little-sister/issues{/number}","pulls_url":"https://api.github.com/repos/jolocom/little-sister/pulls{/number}","milestones_url":"https://api.github.com/repos/jolocom/little-sister/milestones{/number}","notifications_url":"https://api.github.com/repos/jolocom/little-sister/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jolocom/little-sister/labels{/name}","releases_url":"https://api.github.com/repos/jolocom/little-sister/releases{/id}","deployments_url":"https://api.github.com/repos/jolocom/little-sister/deployments","created_at":"2015-07-29T20:50:26Z","updated_at":"2016-10-25T10:10:50Z","pushed_at":"2016-12-07T08:25:37Z","git_url":"git://github.com/jolocom/little-sister.git","ssh_url":"git@github.com:jolocom/little-sister.git","clone_url":"https://github.com/jolocom/little-sister.git","svn_url":"https://github.com/jolocom/little-sister","homepage":null,"size":8691,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":125,"forks":2,"open_issues":125,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/457"},"html":{"href":"https://github.com/jolocom/little-sister/pull/457"},"issue":{"href":"https://api.github.com/repos/jolocom/little-sister/issues/457"},"comments":{"href":"https://api.github.com/repos/jolocom/little-sister/issues/457/comments"},"review_comments":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/457/comments"},"review_comment":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jolocom/little-sister/pulls/457/commits"},"statuses":{"href":"https://api.github.com/repos/jolocom/little-sister/statuses/a01497c1f1f2012733fb93c848aa6708d9ff1d38"}}}}
{"actor":{"display_login":"Exulansis"}}