{"action":"created","comment":{"url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/comments/63900947","id":63900947,"diff_hunk":"@@ -94,34 +97,44 @@ public class AuthController : ExceptionlessApiController {\n                 return Unauthorized();\n             }\n \n-            User user;\n-            try {\n-                user = await _userRepository.GetByEmailAddressAsync(model.Email);\n-            } catch (Exception ex) {\n-                _logger.Error().Exception(ex).Critical().Message(\"Login failed for \\\"{0}\\\": {1}\", model.Email, ex.Message).Tag(\"Login\").Identity(model.Email).SetActionContext(ActionContext).Write();\n-                return Unauthorized();\n-            }\n+\t        User user;","path":"Source/Api/Controllers/AuthController.cs","position":41,"original_position":41,"commit_id":"aefbdc65b4a7919af871e272d7b3e81fa7096228","original_commit_id":"aefbdc65b4a7919af871e272d7b3e81fa7096228","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"body":"I'm not sure why all this changed it's the same exact code, maybe due to spacing and styling","created_at":"2016-05-19T15:32:50Z","updated_at":"2016-05-19T15:32:50Z","html_url":"https://github.com/exceptionless/Exceptionless/pull/231#discussion_r63900947","pull_request_url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231","_links":{"self":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/comments/63900947"},"html":{"href":"https://github.com/exceptionless/Exceptionless/pull/231#discussion_r63900947"},"pull_request":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231"}}},"pull_request":{"url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231","id":69944131,"html_url":"https://github.com/exceptionless/Exceptionless/pull/231","diff_url":"https://github.com/exceptionless/Exceptionless/pull/231.diff","patch_url":"https://github.com/exceptionless/Exceptionless/pull/231.patch","issue_url":"https://api.github.com/repos/exceptionless/Exceptionless/issues/231","number":231,"state":"open","locked":false,"title":"First pass at AD auth","user":{"login":"laughinggoose","id":3506334,"avatar_url":"https://avatars.githubusercontent.com/u/3506334?v=3","gravatar_id":"","url":"https://api.github.com/users/laughinggoose","html_url":"https://github.com/laughinggoose","followers_url":"https://api.github.com/users/laughinggoose/followers","following_url":"https://api.github.com/users/laughinggoose/following{/other_user}","gists_url":"https://api.github.com/users/laughinggoose/gists{/gist_id}","starred_url":"https://api.github.com/users/laughinggoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughinggoose/subscriptions","organizations_url":"https://api.github.com/users/laughinggoose/orgs","repos_url":"https://api.github.com/users/laughinggoose/repos","events_url":"https://api.github.com/users/laughinggoose/events{/privacy}","received_events_url":"https://api.github.com/users/laughinggoose/received_events","type":"User","site_admin":false},"body":"If this is approved, I need to \r\n\r\n- [ ] Update self-host wiki with instructions to setup AD auth","created_at":"2016-05-13T05:11:45Z","updated_at":"2016-05-19T15:32:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"636c3b5daa8c2643c69530989478a3c32969dbc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231/commits","review_comments_url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231/comments","review_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless/issues/231/comments","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless/statuses/aefbdc65b4a7919af871e272d7b3e81fa7096228","head":{"label":"laughinggoose:master","ref":"master","sha":"aefbdc65b4a7919af871e272d7b3e81fa7096228","user":{"login":"laughinggoose","id":3506334,"avatar_url":"https://avatars.githubusercontent.com/u/3506334?v=3","gravatar_id":"","url":"https://api.github.com/users/laughinggoose","html_url":"https://github.com/laughinggoose","followers_url":"https://api.github.com/users/laughinggoose/followers","following_url":"https://api.github.com/users/laughinggoose/following{/other_user}","gists_url":"https://api.github.com/users/laughinggoose/gists{/gist_id}","starred_url":"https://api.github.com/users/laughinggoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughinggoose/subscriptions","organizations_url":"https://api.github.com/users/laughinggoose/orgs","repos_url":"https://api.github.com/users/laughinggoose/repos","events_url":"https://api.github.com/users/laughinggoose/events{/privacy}","received_events_url":"https://api.github.com/users/laughinggoose/received_events","type":"User","site_admin":false},"repo":{"id":56917620,"name":"Exceptionless","full_name":"laughinggoose/Exceptionless","owner":{"login":"laughinggoose","id":3506334,"avatar_url":"https://avatars.githubusercontent.com/u/3506334?v=3","gravatar_id":"","url":"https://api.github.com/users/laughinggoose","html_url":"https://github.com/laughinggoose","followers_url":"https://api.github.com/users/laughinggoose/followers","following_url":"https://api.github.com/users/laughinggoose/following{/other_user}","gists_url":"https://api.github.com/users/laughinggoose/gists{/gist_id}","starred_url":"https://api.github.com/users/laughinggoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughinggoose/subscriptions","organizations_url":"https://api.github.com/users/laughinggoose/orgs","repos_url":"https://api.github.com/users/laughinggoose/repos","events_url":"https://api.github.com/users/laughinggoose/events{/privacy}","received_events_url":"https://api.github.com/users/laughinggoose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laughinggoose/Exceptionless","description":"Exceptionless server and jobs","fork":true,"url":"https://api.github.com/repos/laughinggoose/Exceptionless","forks_url":"https://api.github.com/repos/laughinggoose/Exceptionless/forks","keys_url":"https://api.github.com/repos/laughinggoose/Exceptionless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laughinggoose/Exceptionless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laughinggoose/Exceptionless/teams","hooks_url":"https://api.github.com/repos/laughinggoose/Exceptionless/hooks","issue_events_url":"https://api.github.com/repos/laughinggoose/Exceptionless/issues/events{/number}","events_url":"https://api.github.com/repos/laughinggoose/Exceptionless/events","assignees_url":"https://api.github.com/repos/laughinggoose/Exceptionless/assignees{/user}","branches_url":"https://api.github.com/repos/laughinggoose/Exceptionless/branches{/branch}","tags_url":"https://api.github.com/repos/laughinggoose/Exceptionless/tags","blobs_url":"https://api.github.com/repos/laughinggoose/Exceptionless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laughinggoose/Exceptionless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laughinggoose/Exceptionless/git/refs{/sha}","trees_url":"https://api.github.com/repos/laughinggoose/Exceptionless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laughinggoose/Exceptionless/statuses/{sha}","languages_url":"https://api.github.com/repos/laughinggoose/Exceptionless/languages","stargazers_url":"https://api.github.com/repos/laughinggoose/Exceptionless/stargazers","contributors_url":"https://api.github.com/repos/laughinggoose/Exceptionless/contributors","subscribers_url":"https://api.github.com/repos/laughinggoose/Exceptionless/subscribers","subscription_url":"https://api.github.com/repos/laughinggoose/Exceptionless/subscription","commits_url":"https://api.github.com/repos/laughinggoose/Exceptionless/commits{/sha}","git_commits_url":"https://api.github.com/repos/laughinggoose/Exceptionless/git/commits{/sha}","comments_url":"https://api.github.com/repos/laughinggoose/Exceptionless/comments{/number}","issue_comment_url":"https://api.github.com/repos/laughinggoose/Exceptionless/issues/comments{/number}","contents_url":"https://api.github.com/repos/laughinggoose/Exceptionless/contents/{+path}","compare_url":"https://api.github.com/repos/laughinggoose/Exceptionless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laughinggoose/Exceptionless/merges","archive_url":"https://api.github.com/repos/laughinggoose/Exceptionless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laughinggoose/Exceptionless/downloads","issues_url":"https://api.github.com/repos/laughinggoose/Exceptionless/issues{/number}","pulls_url":"https://api.github.com/repos/laughinggoose/Exceptionless/pulls{/number}","milestones_url":"https://api.github.com/repos/laughinggoose/Exceptionless/milestones{/number}","notifications_url":"https://api.github.com/repos/laughinggoose/Exceptionless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laughinggoose/Exceptionless/labels{/name}","releases_url":"https://api.github.com/repos/laughinggoose/Exceptionless/releases{/id}","deployments_url":"https://api.github.com/repos/laughinggoose/Exceptionless/deployments","created_at":"2016-04-23T12:16:10Z","updated_at":"2016-04-23T12:16:15Z","pushed_at":"2016-05-19T01:16:51Z","git_url":"git://github.com/laughinggoose/Exceptionless.git","ssh_url":"git@github.com:laughinggoose/Exceptionless.git","clone_url":"https://github.com/laughinggoose/Exceptionless.git","svn_url":"https://github.com/laughinggoose/Exceptionless","homepage":"http://exceptionless.com","size":74669,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"exceptionless:master","ref":"master","sha":"b8c4712b3566cfd38921bc8daf775ea961d133d9","user":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"repo":{"id":16599849,"name":"Exceptionless","full_name":"exceptionless/Exceptionless","owner":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exceptionless/Exceptionless","description":"Exceptionless server and jobs","fork":false,"url":"https://api.github.com/repos/exceptionless/Exceptionless","forks_url":"https://api.github.com/repos/exceptionless/Exceptionless/forks","keys_url":"https://api.github.com/repos/exceptionless/Exceptionless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exceptionless/Exceptionless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exceptionless/Exceptionless/teams","hooks_url":"https://api.github.com/repos/exceptionless/Exceptionless/hooks","issue_events_url":"https://api.github.com/repos/exceptionless/Exceptionless/issues/events{/number}","events_url":"https://api.github.com/repos/exceptionless/Exceptionless/events","assignees_url":"https://api.github.com/repos/exceptionless/Exceptionless/assignees{/user}","branches_url":"https://api.github.com/repos/exceptionless/Exceptionless/branches{/branch}","tags_url":"https://api.github.com/repos/exceptionless/Exceptionless/tags","blobs_url":"https://api.github.com/repos/exceptionless/Exceptionless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exceptionless/Exceptionless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exceptionless/Exceptionless/git/refs{/sha}","trees_url":"https://api.github.com/repos/exceptionless/Exceptionless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless/statuses/{sha}","languages_url":"https://api.github.com/repos/exceptionless/Exceptionless/languages","stargazers_url":"https://api.github.com/repos/exceptionless/Exceptionless/stargazers","contributors_url":"https://api.github.com/repos/exceptionless/Exceptionless/contributors","subscribers_url":"https://api.github.com/repos/exceptionless/Exceptionless/subscribers","subscription_url":"https://api.github.com/repos/exceptionless/Exceptionless/subscription","commits_url":"https://api.github.com/repos/exceptionless/Exceptionless/commits{/sha}","git_commits_url":"https://api.github.com/repos/exceptionless/Exceptionless/git/commits{/sha}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless/comments{/number}","issue_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless/issues/comments{/number}","contents_url":"https://api.github.com/repos/exceptionless/Exceptionless/contents/{+path}","compare_url":"https://api.github.com/repos/exceptionless/Exceptionless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exceptionless/Exceptionless/merges","archive_url":"https://api.github.com/repos/exceptionless/Exceptionless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exceptionless/Exceptionless/downloads","issues_url":"https://api.github.com/repos/exceptionless/Exceptionless/issues{/number}","pulls_url":"https://api.github.com/repos/exceptionless/Exceptionless/pulls{/number}","milestones_url":"https://api.github.com/repos/exceptionless/Exceptionless/milestones{/number}","notifications_url":"https://api.github.com/repos/exceptionless/Exceptionless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exceptionless/Exceptionless/labels{/name}","releases_url":"https://api.github.com/repos/exceptionless/Exceptionless/releases{/id}","deployments_url":"https://api.github.com/repos/exceptionless/Exceptionless/deployments","created_at":"2014-02-07T00:48:37Z","updated_at":"2016-05-19T05:25:35Z","pushed_at":"2016-05-19T01:16:52Z","git_url":"git://github.com/exceptionless/Exceptionless.git","ssh_url":"git@github.com:exceptionless/Exceptionless.git","clone_url":"https://github.com/exceptionless/Exceptionless.git","svn_url":"https://github.com/exceptionless/Exceptionless","homepage":"http://exceptionless.com","size":76009,"stargazers_count":461,"watchers_count":461,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":154,"mirror_url":null,"open_issues_count":20,"forks":154,"open_issues":20,"watchers":461,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231"},"html":{"href":"https://github.com/exceptionless/Exceptionless/pull/231"},"issue":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/issues/231"},"comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/exceptionless/Exceptionless/statuses/aefbdc65b4a7919af871e272d7b3e81fa7096228"}}}}