{"action":"created","comment":{"url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments/212077300","pull_request_review_id":148629132,"id":212077300,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjA3NzMwMA==","diff_hunk":"@@ -102,6 +91,19 @@ export default {\n         router.app.validToken = false\n     },\n \n+    /* Create a user and add it to the database. */\n+    register (username, password, firstname, lastname, email, jwtParams = null) {\n+        return connection.conn.post('/create_lti_user/', {\n+            username: username,\n+            password: password,\n+            first_name: firstname,\n+            last_name: lastname,\n+            email: email,\n+            jwt_params: jwtParams\n+        })\n+            .then(response => { return response.data.user })","path":"src/vue/src/api/auth.js","position":87,"original_position":87,"commit_id":"22c74cf63a18ac1b891fddc51a670534ee7150bf","original_commit_id":"22c74cf63a18ac1b891fddc51a670534ee7150bf","user":{"login":"Larspolo","id":11822478,"node_id":"MDQ6VXNlcjExODIyNDc4","avatar_url":"https://avatars2.githubusercontent.com/u/11822478?v=4","gravatar_id":"","url":"https://api.github.com/users/Larspolo","html_url":"https://github.com/Larspolo","followers_url":"https://api.github.com/users/Larspolo/followers","following_url":"https://api.github.com/users/Larspolo/following{/other_user}","gists_url":"https://api.github.com/users/Larspolo/gists{/gist_id}","starred_url":"https://api.github.com/users/Larspolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Larspolo/subscriptions","organizations_url":"https://api.github.com/users/Larspolo/orgs","repos_url":"https://api.github.com/users/Larspolo/repos","events_url":"https://api.github.com/users/Larspolo/events{/privacy}","received_events_url":"https://api.github.com/users/Larspolo/received_events","type":"User","site_admin":false},"body":"`.then(response => response.data.user)`","created_at":"2018-08-22T19:21:26Z","updated_at":"2018-08-22T19:39:01Z","html_url":"https://github.com/eJourn-al/eJournal/pull/263#discussion_r212077300","pull_request_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments/212077300"},"html":{"href":"https://github.com/eJourn-al/eJournal/pull/263#discussion_r212077300"},"pull_request":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263","id":209778876,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5Nzc4ODc2","html_url":"https://github.com/eJourn-al/eJournal/pull/263","diff_url":"https://github.com/eJourn-al/eJournal/pull/263.diff","patch_url":"https://github.com/eJourn-al/eJournal/pull/263.patch","issue_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/263","number":263,"state":"open","locked":false,"title":"Feature/email verification","user":{"login":"mjvkeulen","id":39912610,"node_id":"MDQ6VXNlcjM5OTEyNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/39912610?v=4","gravatar_id":"","url":"https://api.github.com/users/mjvkeulen","html_url":"https://github.com/mjvkeulen","followers_url":"https://api.github.com/users/mjvkeulen/followers","following_url":"https://api.github.com/users/mjvkeulen/following{/other_user}","gists_url":"https://api.github.com/users/mjvkeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/mjvkeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjvkeulen/subscriptions","organizations_url":"https://api.github.com/users/mjvkeulen/orgs","repos_url":"https://api.github.com/users/mjvkeulen/repos","events_url":"https://api.github.com/users/mjvkeulen/events{/privacy}","received_events_url":"https://api.github.com/users/mjvkeulen/received_events","type":"User","site_admin":false},"body":"## Description\r\nEmail verification was added for both LTI coupled users and individual registrations. Ontop of this response handling has been made consistent for both front and back end.\r\n","created_at":"2018-08-21T10:27:27Z","updated_at":"2018-08-22T19:39:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"951448a6082798f93dab7f200531ec2d1d036cfe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263/commits","review_comments_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263/comments","review_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/263/comments","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/22c74cf63a18ac1b891fddc51a670534ee7150bf","head":{"label":"eJourn-al:feature/email-verification","ref":"feature/email-verification","sha":"22c74cf63a18ac1b891fddc51a670534ee7150bf","user":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"repo":{"id":136030378,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzAzNzg=","name":"eJournal","full_name":"eJourn-al/eJournal","owner":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eJourn-al/eJournal","description":"Platform for long term assignments in virtual learning environments.","fork":false,"url":"https://api.github.com/repos/eJourn-al/eJournal","forks_url":"https://api.github.com/repos/eJourn-al/eJournal/forks","keys_url":"https://api.github.com/repos/eJourn-al/eJournal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eJourn-al/eJournal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eJourn-al/eJournal/teams","hooks_url":"https://api.github.com/repos/eJourn-al/eJournal/hooks","issue_events_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/events{/number}","events_url":"https://api.github.com/repos/eJourn-al/eJournal/events","assignees_url":"https://api.github.com/repos/eJourn-al/eJournal/assignees{/user}","branches_url":"https://api.github.com/repos/eJourn-al/eJournal/branches{/branch}","tags_url":"https://api.github.com/repos/eJourn-al/eJournal/tags","blobs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eJourn-al/eJournal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/refs{/sha}","trees_url":"https://api.github.com/repos/eJourn-al/eJournal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/{sha}","languages_url":"https://api.github.com/repos/eJourn-al/eJournal/languages","stargazers_url":"https://api.github.com/repos/eJourn-al/eJournal/stargazers","contributors_url":"https://api.github.com/repos/eJourn-al/eJournal/contributors","subscribers_url":"https://api.github.com/repos/eJourn-al/eJournal/subscribers","subscription_url":"https://api.github.com/repos/eJourn-al/eJournal/subscription","commits_url":"https://api.github.com/repos/eJourn-al/eJournal/commits{/sha}","git_commits_url":"https://api.github.com/repos/eJourn-al/eJournal/git/commits{/sha}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/comments{/number}","issue_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/comments{/number}","contents_url":"https://api.github.com/repos/eJourn-al/eJournal/contents/{+path}","compare_url":"https://api.github.com/repos/eJourn-al/eJournal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eJourn-al/eJournal/merges","archive_url":"https://api.github.com/repos/eJourn-al/eJournal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eJourn-al/eJournal/downloads","issues_url":"https://api.github.com/repos/eJourn-al/eJournal/issues{/number}","pulls_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls{/number}","milestones_url":"https://api.github.com/repos/eJourn-al/eJournal/milestones{/number}","notifications_url":"https://api.github.com/repos/eJourn-al/eJournal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eJourn-al/eJournal/labels{/name}","releases_url":"https://api.github.com/repos/eJourn-al/eJournal/releases{/id}","deployments_url":"https://api.github.com/repos/eJourn-al/eJournal/deployments","created_at":"2018-06-04T13:36:31Z","updated_at":"2018-08-22T18:43:27Z","pushed_at":"2018-08-22T17:32:59Z","git_url":"git://github.com/eJourn-al/eJournal.git","ssh_url":"git@github.com:eJourn-al/eJournal.git","clone_url":"https://github.com/eJourn-al/eJournal.git","svn_url":"https://github.com/eJourn-al/eJournal","homepage":"","size":10906,"stargazers_count":8,"watchers_count":8,"language":"Python","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":50,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":50,"watchers":8,"default_branch":"develop"}},"base":{"label":"eJourn-al:develop","ref":"develop","sha":"975d5a07282145e4d9886b0bb20b27879b783f48","user":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"repo":{"id":136030378,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzAzNzg=","name":"eJournal","full_name":"eJourn-al/eJournal","owner":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eJourn-al/eJournal","description":"Platform for long term assignments in virtual learning environments.","fork":false,"url":"https://api.github.com/repos/eJourn-al/eJournal","forks_url":"https://api.github.com/repos/eJourn-al/eJournal/forks","keys_url":"https://api.github.com/repos/eJourn-al/eJournal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eJourn-al/eJournal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eJourn-al/eJournal/teams","hooks_url":"https://api.github.com/repos/eJourn-al/eJournal/hooks","issue_events_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/events{/number}","events_url":"https://api.github.com/repos/eJourn-al/eJournal/events","assignees_url":"https://api.github.com/repos/eJourn-al/eJournal/assignees{/user}","branches_url":"https://api.github.com/repos/eJourn-al/eJournal/branches{/branch}","tags_url":"https://api.github.com/repos/eJourn-al/eJournal/tags","blobs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eJourn-al/eJournal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/refs{/sha}","trees_url":"https://api.github.com/repos/eJourn-al/eJournal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/{sha}","languages_url":"https://api.github.com/repos/eJourn-al/eJournal/languages","stargazers_url":"https://api.github.com/repos/eJourn-al/eJournal/stargazers","contributors_url":"https://api.github.com/repos/eJourn-al/eJournal/contributors","subscribers_url":"https://api.github.com/repos/eJourn-al/eJournal/subscribers","subscription_url":"https://api.github.com/repos/eJourn-al/eJournal/subscription","commits_url":"https://api.github.com/repos/eJourn-al/eJournal/commits{/sha}","git_commits_url":"https://api.github.com/repos/eJourn-al/eJournal/git/commits{/sha}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/comments{/number}","issue_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/comments{/number}","contents_url":"https://api.github.com/repos/eJourn-al/eJournal/contents/{+path}","compare_url":"https://api.github.com/repos/eJourn-al/eJournal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eJourn-al/eJournal/merges","archive_url":"https://api.github.com/repos/eJourn-al/eJournal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eJourn-al/eJournal/downloads","issues_url":"https://api.github.com/repos/eJourn-al/eJournal/issues{/number}","pulls_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls{/number}","milestones_url":"https://api.github.com/repos/eJourn-al/eJournal/milestones{/number}","notifications_url":"https://api.github.com/repos/eJourn-al/eJournal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eJourn-al/eJournal/labels{/name}","releases_url":"https://api.github.com/repos/eJourn-al/eJournal/releases{/id}","deployments_url":"https://api.github.com/repos/eJourn-al/eJournal/deployments","created_at":"2018-06-04T13:36:31Z","updated_at":"2018-08-22T18:43:27Z","pushed_at":"2018-08-22T17:32:59Z","git_url":"git://github.com/eJourn-al/eJournal.git","ssh_url":"git@github.com:eJourn-al/eJournal.git","clone_url":"https://github.com/eJourn-al/eJournal.git","svn_url":"https://github.com/eJourn-al/eJournal","homepage":"","size":10906,"stargazers_count":8,"watchers_count":8,"language":"Python","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":50,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":50,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263"},"html":{"href":"https://github.com/eJourn-al/eJournal/pull/263"},"issue":{"href":"https://api.github.com/repos/eJourn-al/eJournal/issues/263"},"comments":{"href":"https://api.github.com/repos/eJourn-al/eJournal/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/eJourn-al/eJournal/statuses/22c74cf63a18ac1b891fddc51a670534ee7150bf"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Larspolo"}}