{"action":"created","comment":{"url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/comments/113592727","pull_request_review_id":34994373,"id":113592727,"diff_hunk":"@@ -0,0 +1,100 @@\n+<?php\n+\n+namespace App\\Http\\Controllers\\Auth;\n+\n+use App\\Http\\Controllers\\Controller;\n+use Socialite;\n+use Validator;\n+//use Illuminate\\Foundation\\Auth\\ThrottlesLogins;\n+//use Illuminate\\Foundation\\Auth\\AuthenticatesAndRegistersUsers;\n+use Exception;\n+use Auth;\n+use App\\User;\n+\n+\n+class AuthController extends Controller\n+{\n+\n+  // use AuthenticatesAndRegistersUsers, ThrottlesLogins;\n+     /**\n+     * Redirect the user to the GitHub authentication page.\n+     *\n+     * @return Response\n+     */\n+\n+     protected $redirectTo = '/campaign/campaign';\n+\n+      public function __construct()\n+    {\n+        $this->middleware('guest', ['except' => 'logout']);\n+    }\n+\n+\n+        public static function validator(array $data)\n+    {\n+        return Validator::make($data, [\n+            'name' => 'required|max:255',\n+            'email' => 'required|email|max:255|unique:users',\n+            'password' => 'required|confirmed|min:6',\n+        ]);\n+    }\n+\n+\n+      public static function create(array $data)\n+    {\n+        return User::create([\n+            'name' => $data['name'],","path":"app/Http/Controllers/Auth/AuthController.php","position":46,"original_position":46,"commit_id":"818280f84d5b0b7be360f3fdcfc05b390a076709","original_commit_id":"818280f84d5b0b7be360f3fdcfc05b390a076709","user":{"login":"scrummitch","id":990013,"avatar_url":"https://avatars0.githubusercontent.com/u/990013?v=3","gravatar_id":"","url":"https://api.github.com/users/scrummitch","html_url":"https://github.com/scrummitch","followers_url":"https://api.github.com/users/scrummitch/followers","following_url":"https://api.github.com/users/scrummitch/following{/other_user}","gists_url":"https://api.github.com/users/scrummitch/gists{/gist_id}","starred_url":"https://api.github.com/users/scrummitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrummitch/subscriptions","organizations_url":"https://api.github.com/users/scrummitch/orgs","repos_url":"https://api.github.com/users/scrummitch/repos","events_url":"https://api.github.com/users/scrummitch/events{/privacy}","received_events_url":"https://api.github.com/users/scrummitch/received_events","type":"User","site_admin":false},"body":"align the arrows so it looks nicer","created_at":"2017-04-27T00:24:53Z","updated_at":"2017-04-27T00:43:19Z","html_url":"https://github.com/Josiassejod1/Growth-Experiment/pull/1#discussion_r113592727","pull_request_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/comments/113592727"},"html":{"href":"https://github.com/Josiassejod1/Growth-Experiment/pull/1#discussion_r113592727"},"pull_request":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1","id":117836412,"html_url":"https://github.com/Josiassejod1/Growth-Experiment/pull/1","diff_url":"https://github.com/Josiassejod1/Growth-Experiment/pull/1.diff","patch_url":"https://github.com/Josiassejod1/Growth-Experiment/pull/1.patch","issue_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/1","number":1,"state":"open","locked":false,"title":"Prototype","user":{"login":"Josiassejod1","id":12024422,"avatar_url":"https://avatars1.githubusercontent.com/u/12024422?v=3","gravatar_id":"","url":"https://api.github.com/users/Josiassejod1","html_url":"https://github.com/Josiassejod1","followers_url":"https://api.github.com/users/Josiassejod1/followers","following_url":"https://api.github.com/users/Josiassejod1/following{/other_user}","gists_url":"https://api.github.com/users/Josiassejod1/gists{/gist_id}","starred_url":"https://api.github.com/users/Josiassejod1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josiassejod1/subscriptions","organizations_url":"https://api.github.com/users/Josiassejod1/orgs","repos_url":"https://api.github.com/users/Josiassejod1/repos","events_url":"https://api.github.com/users/Josiassejod1/events{/privacy}","received_events_url":"https://api.github.com/users/Josiassejod1/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-27T00:20:41Z","updated_at":"2017-04-27T00:43:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b8a11d20290b803961fdc971cfc7ae96d14d7bb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/1/comments","statuses_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/statuses/818280f84d5b0b7be360f3fdcfc05b390a076709","head":{"label":"Josiassejod1:prototype","ref":"prototype","sha":"818280f84d5b0b7be360f3fdcfc05b390a076709","user":{"login":"Josiassejod1","id":12024422,"avatar_url":"https://avatars1.githubusercontent.com/u/12024422?v=3","gravatar_id":"","url":"https://api.github.com/users/Josiassejod1","html_url":"https://github.com/Josiassejod1","followers_url":"https://api.github.com/users/Josiassejod1/followers","following_url":"https://api.github.com/users/Josiassejod1/following{/other_user}","gists_url":"https://api.github.com/users/Josiassejod1/gists{/gist_id}","starred_url":"https://api.github.com/users/Josiassejod1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josiassejod1/subscriptions","organizations_url":"https://api.github.com/users/Josiassejod1/orgs","repos_url":"https://api.github.com/users/Josiassejod1/repos","events_url":"https://api.github.com/users/Josiassejod1/events{/privacy}","received_events_url":"https://api.github.com/users/Josiassejod1/received_events","type":"User","site_admin":false},"repo":{"id":84191760,"name":"Growth-Experiment","full_name":"Josiassejod1/Growth-Experiment","owner":{"login":"Josiassejod1","id":12024422,"avatar_url":"https://avatars1.githubusercontent.com/u/12024422?v=3","gravatar_id":"","url":"https://api.github.com/users/Josiassejod1","html_url":"https://github.com/Josiassejod1","followers_url":"https://api.github.com/users/Josiassejod1/followers","following_url":"https://api.github.com/users/Josiassejod1/following{/other_user}","gists_url":"https://api.github.com/users/Josiassejod1/gists{/gist_id}","starred_url":"https://api.github.com/users/Josiassejod1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josiassejod1/subscriptions","organizations_url":"https://api.github.com/users/Josiassejod1/orgs","repos_url":"https://api.github.com/users/Josiassejod1/repos","events_url":"https://api.github.com/users/Josiassejod1/events{/privacy}","received_events_url":"https://api.github.com/users/Josiassejod1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Josiassejod1/Growth-Experiment","description":"Intern project for Bonjoro.com","fork":false,"url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment","forks_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/forks","keys_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/teams","hooks_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/hooks","issue_events_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/events{/number}","events_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/events","assignees_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/assignees{/user}","branches_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/branches{/branch}","tags_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/tags","blobs_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/statuses/{sha}","languages_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/languages","stargazers_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/stargazers","contributors_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/contributors","subscribers_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/subscribers","subscription_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/subscription","commits_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/contents/{+path}","compare_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/merges","archive_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/downloads","issues_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues{/number}","pulls_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls{/number}","milestones_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/milestones{/number}","notifications_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/labels{/name}","releases_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/releases{/id}","deployments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/deployments","created_at":"2017-03-07T11:31:39Z","updated_at":"2017-03-15T06:10:08Z","pushed_at":"2017-04-27T00:20:42Z","git_url":"git://github.com/Josiassejod1/Growth-Experiment.git","ssh_url":"git@github.com:Josiassejod1/Growth-Experiment.git","clone_url":"https://github.com/Josiassejod1/Growth-Experiment.git","svn_url":"https://github.com/Josiassejod1/Growth-Experiment","homepage":null,"size":3511,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Josiassejod1:master","ref":"master","sha":"ddc927e3d6804343bd2cfd6c0f5ad9c0ed3f5720","user":{"login":"Josiassejod1","id":12024422,"avatar_url":"https://avatars1.githubusercontent.com/u/12024422?v=3","gravatar_id":"","url":"https://api.github.com/users/Josiassejod1","html_url":"https://github.com/Josiassejod1","followers_url":"https://api.github.com/users/Josiassejod1/followers","following_url":"https://api.github.com/users/Josiassejod1/following{/other_user}","gists_url":"https://api.github.com/users/Josiassejod1/gists{/gist_id}","starred_url":"https://api.github.com/users/Josiassejod1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josiassejod1/subscriptions","organizations_url":"https://api.github.com/users/Josiassejod1/orgs","repos_url":"https://api.github.com/users/Josiassejod1/repos","events_url":"https://api.github.com/users/Josiassejod1/events{/privacy}","received_events_url":"https://api.github.com/users/Josiassejod1/received_events","type":"User","site_admin":false},"repo":{"id":84191760,"name":"Growth-Experiment","full_name":"Josiassejod1/Growth-Experiment","owner":{"login":"Josiassejod1","id":12024422,"avatar_url":"https://avatars1.githubusercontent.com/u/12024422?v=3","gravatar_id":"","url":"https://api.github.com/users/Josiassejod1","html_url":"https://github.com/Josiassejod1","followers_url":"https://api.github.com/users/Josiassejod1/followers","following_url":"https://api.github.com/users/Josiassejod1/following{/other_user}","gists_url":"https://api.github.com/users/Josiassejod1/gists{/gist_id}","starred_url":"https://api.github.com/users/Josiassejod1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josiassejod1/subscriptions","organizations_url":"https://api.github.com/users/Josiassejod1/orgs","repos_url":"https://api.github.com/users/Josiassejod1/repos","events_url":"https://api.github.com/users/Josiassejod1/events{/privacy}","received_events_url":"https://api.github.com/users/Josiassejod1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Josiassejod1/Growth-Experiment","description":"Intern project for Bonjoro.com","fork":false,"url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment","forks_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/forks","keys_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/teams","hooks_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/hooks","issue_events_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/events{/number}","events_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/events","assignees_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/assignees{/user}","branches_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/branches{/branch}","tags_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/tags","blobs_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/statuses/{sha}","languages_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/languages","stargazers_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/stargazers","contributors_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/contributors","subscribers_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/subscribers","subscription_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/subscription","commits_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/contents/{+path}","compare_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/merges","archive_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/downloads","issues_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues{/number}","pulls_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls{/number}","milestones_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/milestones{/number}","notifications_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/labels{/name}","releases_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/releases{/id}","deployments_url":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/deployments","created_at":"2017-03-07T11:31:39Z","updated_at":"2017-03-15T06:10:08Z","pushed_at":"2017-04-27T00:20:42Z","git_url":"git://github.com/Josiassejod1/Growth-Experiment.git","ssh_url":"git@github.com:Josiassejod1/Growth-Experiment.git","clone_url":"https://github.com/Josiassejod1/Growth-Experiment.git","svn_url":"https://github.com/Josiassejod1/Growth-Experiment","homepage":null,"size":3511,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1"},"html":{"href":"https://github.com/Josiassejod1/Growth-Experiment/pull/1"},"issue":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/1"},"comments":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Josiassejod1/Growth-Experiment/statuses/818280f84d5b0b7be360f3fdcfc05b390a076709"}}}}
{"actor":{"display_login":"scrummitch"}}