{"action":"created","comment":{"url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/comments/120612768","pull_request_review_id":42588454,"id":120612768,"diff_hunk":"@@ -33,11 +35,15 @@ public class UserAuthenticator: UserAuthenticating {\n \n         let name = data[User.Keys.name]?.string\n \n-        return try User(\n+        let user = try User(\n             email: Valid(email),\n             name: name.map(Valid.init),\n             password: hasher.hash(Valid(password))\n         )\n+\n+        try user.save()","path":"Sources/JWTKeychain/Support/UserAuthenticating.swift","position":37,"original_position":37,"commit_id":"95e8759b6a28f035f53f09d7e84d7593d05d883c","original_commit_id":"95e8759b6a28f035f53f09d7e84d7593d05d883c","user":{"login":"steffendsommer","id":685672,"avatar_url":"https://avatars1.githubusercontent.com/u/685672?v=3","gravatar_id":"","url":"https://api.github.com/users/steffendsommer","html_url":"https://github.com/steffendsommer","followers_url":"https://api.github.com/users/steffendsommer/followers","following_url":"https://api.github.com/users/steffendsommer/following{/other_user}","gists_url":"https://api.github.com/users/steffendsommer/gists{/gist_id}","starred_url":"https://api.github.com/users/steffendsommer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffendsommer/subscriptions","organizations_url":"https://api.github.com/users/steffendsommer/orgs","repos_url":"https://api.github.com/users/steffendsommer/repos","events_url":"https://api.github.com/users/steffendsommer/events{/privacy}","received_events_url":"https://api.github.com/users/steffendsommer/received_events","type":"User","site_admin":false},"body":"Much better separation 👍 ","created_at":"2017-06-07T12:38:33Z","updated_at":"2017-06-07T12:44:17Z","html_url":"https://github.com/nodes-vapor/jwt-keychain/pull/82#discussion_r120612768","pull_request_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/comments/120612768"},"html":{"href":"https://github.com/nodes-vapor/jwt-keychain/pull/82#discussion_r120612768"},"pull_request":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82","id":123892923,"html_url":"https://github.com/nodes-vapor/jwt-keychain/pull/82","diff_url":"https://github.com/nodes-vapor/jwt-keychain/pull/82.diff","patch_url":"https://github.com/nodes-vapor/jwt-keychain/pull/82.patch","issue_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/82","number":82,"state":"open","locked":false,"title":"Fix/improve login, update functionality","user":{"login":"siemensikkema","id":1049951,"avatar_url":"https://avatars3.githubusercontent.com/u/1049951?v=3","gravatar_id":"","url":"https://api.github.com/users/siemensikkema","html_url":"https://github.com/siemensikkema","followers_url":"https://api.github.com/users/siemensikkema/followers","following_url":"https://api.github.com/users/siemensikkema/following{/other_user}","gists_url":"https://api.github.com/users/siemensikkema/gists{/gist_id}","starred_url":"https://api.github.com/users/siemensikkema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemensikkema/subscriptions","organizations_url":"https://api.github.com/users/siemensikkema/orgs","repos_url":"https://api.github.com/users/siemensikkema/repos","events_url":"https://api.github.com/users/siemensikkema/events{/privacy}","received_events_url":"https://api.github.com/users/siemensikkema/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-04T21:31:19Z","updated_at":"2017-06-07T12:44:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af9f7bc8ded6b1463802128b466933f9676f9d5c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82/commits","review_comments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82/comments","review_comment_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/82/comments","statuses_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/statuses/95e8759b6a28f035f53f09d7e84d7593d05d883c","head":{"label":"nodes-vapor:siemensikkema-patch-1","ref":"siemensikkema-patch-1","sha":"95e8759b6a28f035f53f09d7e84d7593d05d883c","user":{"login":"nodes-vapor","id":20334998,"avatar_url":"https://avatars2.githubusercontent.com/u/20334998?v=3","gravatar_id":"","url":"https://api.github.com/users/nodes-vapor","html_url":"https://github.com/nodes-vapor","followers_url":"https://api.github.com/users/nodes-vapor/followers","following_url":"https://api.github.com/users/nodes-vapor/following{/other_user}","gists_url":"https://api.github.com/users/nodes-vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/nodes-vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodes-vapor/subscriptions","organizations_url":"https://api.github.com/users/nodes-vapor/orgs","repos_url":"https://api.github.com/users/nodes-vapor/repos","events_url":"https://api.github.com/users/nodes-vapor/events{/privacy}","received_events_url":"https://api.github.com/users/nodes-vapor/received_events","type":"Organization","site_admin":false},"repo":{"id":77539274,"name":"jwt-keychain","full_name":"nodes-vapor/jwt-keychain","owner":{"login":"nodes-vapor","id":20334998,"avatar_url":"https://avatars2.githubusercontent.com/u/20334998?v=3","gravatar_id":"","url":"https://api.github.com/users/nodes-vapor","html_url":"https://github.com/nodes-vapor","followers_url":"https://api.github.com/users/nodes-vapor/followers","following_url":"https://api.github.com/users/nodes-vapor/following{/other_user}","gists_url":"https://api.github.com/users/nodes-vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/nodes-vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodes-vapor/subscriptions","organizations_url":"https://api.github.com/users/nodes-vapor/orgs","repos_url":"https://api.github.com/users/nodes-vapor/repos","events_url":"https://api.github.com/users/nodes-vapor/events{/privacy}","received_events_url":"https://api.github.com/users/nodes-vapor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodes-vapor/jwt-keychain","description":"Easily scaffold a keychain using JWT for Vapor","fork":false,"url":"https://api.github.com/repos/nodes-vapor/jwt-keychain","forks_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/forks","keys_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/teams","hooks_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/hooks","issue_events_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/events{/number}","events_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/events","assignees_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/assignees{/user}","branches_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/branches{/branch}","tags_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/tags","blobs_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/statuses/{sha}","languages_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/languages","stargazers_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/stargazers","contributors_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/contributors","subscribers_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/subscribers","subscription_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/subscription","commits_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/contents/{+path}","compare_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/merges","archive_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/downloads","issues_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues{/number}","pulls_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls{/number}","milestones_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/milestones{/number}","notifications_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/labels{/name}","releases_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/releases{/id}","deployments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/deployments","created_at":"2016-12-28T14:38:35Z","updated_at":"2017-06-07T03:00:59Z","pushed_at":"2017-06-05T14:46:58Z","git_url":"git://github.com/nodes-vapor/jwt-keychain.git","ssh_url":"git@github.com:nodes-vapor/jwt-keychain.git","clone_url":"https://github.com/nodes-vapor/jwt-keychain.git","svn_url":"https://github.com/nodes-vapor/jwt-keychain","homepage":null,"size":190,"stargazers_count":9,"watchers_count":9,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":22,"forks":2,"open_issues":22,"watchers":9,"default_branch":"master"}},"base":{"label":"nodes-vapor:vapor2","ref":"vapor2","sha":"8d82eb1603638870dea772e598bd11f5736db0ce","user":{"login":"nodes-vapor","id":20334998,"avatar_url":"https://avatars2.githubusercontent.com/u/20334998?v=3","gravatar_id":"","url":"https://api.github.com/users/nodes-vapor","html_url":"https://github.com/nodes-vapor","followers_url":"https://api.github.com/users/nodes-vapor/followers","following_url":"https://api.github.com/users/nodes-vapor/following{/other_user}","gists_url":"https://api.github.com/users/nodes-vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/nodes-vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodes-vapor/subscriptions","organizations_url":"https://api.github.com/users/nodes-vapor/orgs","repos_url":"https://api.github.com/users/nodes-vapor/repos","events_url":"https://api.github.com/users/nodes-vapor/events{/privacy}","received_events_url":"https://api.github.com/users/nodes-vapor/received_events","type":"Organization","site_admin":false},"repo":{"id":77539274,"name":"jwt-keychain","full_name":"nodes-vapor/jwt-keychain","owner":{"login":"nodes-vapor","id":20334998,"avatar_url":"https://avatars2.githubusercontent.com/u/20334998?v=3","gravatar_id":"","url":"https://api.github.com/users/nodes-vapor","html_url":"https://github.com/nodes-vapor","followers_url":"https://api.github.com/users/nodes-vapor/followers","following_url":"https://api.github.com/users/nodes-vapor/following{/other_user}","gists_url":"https://api.github.com/users/nodes-vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/nodes-vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodes-vapor/subscriptions","organizations_url":"https://api.github.com/users/nodes-vapor/orgs","repos_url":"https://api.github.com/users/nodes-vapor/repos","events_url":"https://api.github.com/users/nodes-vapor/events{/privacy}","received_events_url":"https://api.github.com/users/nodes-vapor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodes-vapor/jwt-keychain","description":"Easily scaffold a keychain using JWT for Vapor","fork":false,"url":"https://api.github.com/repos/nodes-vapor/jwt-keychain","forks_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/forks","keys_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/teams","hooks_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/hooks","issue_events_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/events{/number}","events_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/events","assignees_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/assignees{/user}","branches_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/branches{/branch}","tags_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/tags","blobs_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/statuses/{sha}","languages_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/languages","stargazers_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/stargazers","contributors_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/contributors","subscribers_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/subscribers","subscription_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/subscription","commits_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/contents/{+path}","compare_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/merges","archive_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/downloads","issues_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues{/number}","pulls_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls{/number}","milestones_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/milestones{/number}","notifications_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/labels{/name}","releases_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/releases{/id}","deployments_url":"https://api.github.com/repos/nodes-vapor/jwt-keychain/deployments","created_at":"2016-12-28T14:38:35Z","updated_at":"2017-06-07T03:00:59Z","pushed_at":"2017-06-05T14:46:58Z","git_url":"git://github.com/nodes-vapor/jwt-keychain.git","ssh_url":"git@github.com:nodes-vapor/jwt-keychain.git","clone_url":"https://github.com/nodes-vapor/jwt-keychain.git","svn_url":"https://github.com/nodes-vapor/jwt-keychain","homepage":null,"size":190,"stargazers_count":9,"watchers_count":9,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":22,"forks":2,"open_issues":22,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82"},"html":{"href":"https://github.com/nodes-vapor/jwt-keychain/pull/82"},"issue":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/82"},"comments":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/nodes-vapor/jwt-keychain/statuses/95e8759b6a28f035f53f09d7e84d7593d05d883c"}}}}
{"actor":{"display_login":"steffendsommer"}}