{"action":"created","comment":{"url":"https://api.github.com/repos/PHPEducation/news_01/pulls/comments/224304147","pull_request_review_id":163637101,"id":224304147,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDMwNDE0Nw==","diff_hunk":"@@ -63,8 +64,21 @@ public function logout(Request $request)\n \n     protected function sendFailedLoginResponse(Request $request)\n     {\n-        throw ValidationException::withMessages([\n-            $this->username() => [ trans('language.Error-Login') ],\n-        ]);\n+        if ( ! User::where('email', $request->email)->first() ) {\n+            \n+            return redirect()->back()\n+                ->withInput($request->only($this->username(), 'remember'))\n+                ->withErrors([\n+                    $this->username() => [trans('language.unvalid-account')],\n+                ]);\n+        }\n+        if ( ! User::where('email', $request->email)->where('password', bcrypt($request->password))->first() ) {","path":"app/Http/Controllers/Auth/LoginController.php","position":23,"original_position":23,"commit_id":"f39c8c12e066f3ab6e5cbd4439a544e059c63f11","original_commit_id":"f39c8c12e066f3ab6e5cbd4439a544e059c63f11","user":{"login":"BunnyPi04","id":32006118,"node_id":"MDQ6VXNlcjMyMDA2MTE4","avatar_url":"https://avatars2.githubusercontent.com/u/32006118?v=4","gravatar_id":"","url":"https://api.github.com/users/BunnyPi04","html_url":"https://github.com/BunnyPi04","followers_url":"https://api.github.com/users/BunnyPi04/followers","following_url":"https://api.github.com/users/BunnyPi04/following{/other_user}","gists_url":"https://api.github.com/users/BunnyPi04/gists{/gist_id}","starred_url":"https://api.github.com/users/BunnyPi04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BunnyPi04/subscriptions","organizations_url":"https://api.github.com/users/BunnyPi04/orgs","repos_url":"https://api.github.com/users/BunnyPi04/repos","events_url":"https://api.github.com/users/BunnyPi04/events{/privacy}","received_events_url":"https://api.github.com/users/BunnyPi04/received_events","type":"User","site_admin":false},"body":"convention","created_at":"2018-10-11T03:23:56Z","updated_at":"2018-10-11T03:27:40Z","html_url":"https://github.com/PHPEducation/news_01/pull/9#discussion_r224304147","pull_request_url":"https://api.github.com/repos/PHPEducation/news_01/pulls/9","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/comments/224304147"},"html":{"href":"https://github.com/PHPEducation/news_01/pull/9#discussion_r224304147"},"pull_request":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/PHPEducation/news_01/pulls/9","id":221992450,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTkyNDUw","html_url":"https://github.com/PHPEducation/news_01/pull/9","diff_url":"https://github.com/PHPEducation/news_01/pull/9.diff","patch_url":"https://github.com/PHPEducation/news_01/pull/9.patch","issue_url":"https://api.github.com/repos/PHPEducation/news_01/issues/9","number":9,"state":"open","locked":false,"title":"Manager tag part2 and custom register","user":{"login":"VoTuan232","id":27145813,"node_id":"MDQ6VXNlcjI3MTQ1ODEz","avatar_url":"https://avatars0.githubusercontent.com/u/27145813?v=4","gravatar_id":"","url":"https://api.github.com/users/VoTuan232","html_url":"https://github.com/VoTuan232","followers_url":"https://api.github.com/users/VoTuan232/followers","following_url":"https://api.github.com/users/VoTuan232/following{/other_user}","gists_url":"https://api.github.com/users/VoTuan232/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTuan232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTuan232/subscriptions","organizations_url":"https://api.github.com/users/VoTuan232/orgs","repos_url":"https://api.github.com/users/VoTuan232/repos","events_url":"https://api.github.com/users/VoTuan232/events{/privacy}","received_events_url":"https://api.github.com/users/VoTuan232/received_events","type":"User","site_admin":false},"body":"Manager tags and custom register","created_at":"2018-10-11T03:04:40Z","updated_at":"2018-10-11T03:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9d47b9d0a83fd42bf707038773ca711f9adfc18","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PHPEducation/news_01/pulls/9/commits","review_comments_url":"https://api.github.com/repos/PHPEducation/news_01/pulls/9/comments","review_comment_url":"https://api.github.com/repos/PHPEducation/news_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PHPEducation/news_01/issues/9/comments","statuses_url":"https://api.github.com/repos/PHPEducation/news_01/statuses/f39c8c12e066f3ab6e5cbd4439a544e059c63f11","head":{"label":"VoTuan232:t7","ref":"t7","sha":"f39c8c12e066f3ab6e5cbd4439a544e059c63f11","user":{"login":"VoTuan232","id":27145813,"node_id":"MDQ6VXNlcjI3MTQ1ODEz","avatar_url":"https://avatars0.githubusercontent.com/u/27145813?v=4","gravatar_id":"","url":"https://api.github.com/users/VoTuan232","html_url":"https://github.com/VoTuan232","followers_url":"https://api.github.com/users/VoTuan232/followers","following_url":"https://api.github.com/users/VoTuan232/following{/other_user}","gists_url":"https://api.github.com/users/VoTuan232/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTuan232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTuan232/subscriptions","organizations_url":"https://api.github.com/users/VoTuan232/orgs","repos_url":"https://api.github.com/users/VoTuan232/repos","events_url":"https://api.github.com/users/VoTuan232/events{/privacy}","received_events_url":"https://api.github.com/users/VoTuan232/received_events","type":"User","site_admin":false},"repo":{"id":150359840,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAzNTk4NDA=","name":"news_01","full_name":"VoTuan232/news_01","private":false,"owner":{"login":"VoTuan232","id":27145813,"node_id":"MDQ6VXNlcjI3MTQ1ODEz","avatar_url":"https://avatars0.githubusercontent.com/u/27145813?v=4","gravatar_id":"","url":"https://api.github.com/users/VoTuan232","html_url":"https://github.com/VoTuan232","followers_url":"https://api.github.com/users/VoTuan232/followers","following_url":"https://api.github.com/users/VoTuan232/following{/other_user}","gists_url":"https://api.github.com/users/VoTuan232/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTuan232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTuan232/subscriptions","organizations_url":"https://api.github.com/users/VoTuan232/orgs","repos_url":"https://api.github.com/users/VoTuan232/repos","events_url":"https://api.github.com/users/VoTuan232/events{/privacy}","received_events_url":"https://api.github.com/users/VoTuan232/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VoTuan232/news_01","description":null,"fork":true,"url":"https://api.github.com/repos/VoTuan232/news_01","forks_url":"https://api.github.com/repos/VoTuan232/news_01/forks","keys_url":"https://api.github.com/repos/VoTuan232/news_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VoTuan232/news_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VoTuan232/news_01/teams","hooks_url":"https://api.github.com/repos/VoTuan232/news_01/hooks","issue_events_url":"https://api.github.com/repos/VoTuan232/news_01/issues/events{/number}","events_url":"https://api.github.com/repos/VoTuan232/news_01/events","assignees_url":"https://api.github.com/repos/VoTuan232/news_01/assignees{/user}","branches_url":"https://api.github.com/repos/VoTuan232/news_01/branches{/branch}","tags_url":"https://api.github.com/repos/VoTuan232/news_01/tags","blobs_url":"https://api.github.com/repos/VoTuan232/news_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VoTuan232/news_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VoTuan232/news_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/VoTuan232/news_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VoTuan232/news_01/statuses/{sha}","languages_url":"https://api.github.com/repos/VoTuan232/news_01/languages","stargazers_url":"https://api.github.com/repos/VoTuan232/news_01/stargazers","contributors_url":"https://api.github.com/repos/VoTuan232/news_01/contributors","subscribers_url":"https://api.github.com/repos/VoTuan232/news_01/subscribers","subscription_url":"https://api.github.com/repos/VoTuan232/news_01/subscription","commits_url":"https://api.github.com/repos/VoTuan232/news_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/VoTuan232/news_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/VoTuan232/news_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/VoTuan232/news_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/VoTuan232/news_01/contents/{+path}","compare_url":"https://api.github.com/repos/VoTuan232/news_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VoTuan232/news_01/merges","archive_url":"https://api.github.com/repos/VoTuan232/news_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VoTuan232/news_01/downloads","issues_url":"https://api.github.com/repos/VoTuan232/news_01/issues{/number}","pulls_url":"https://api.github.com/repos/VoTuan232/news_01/pulls{/number}","milestones_url":"https://api.github.com/repos/VoTuan232/news_01/milestones{/number}","notifications_url":"https://api.github.com/repos/VoTuan232/news_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VoTuan232/news_01/labels{/name}","releases_url":"https://api.github.com/repos/VoTuan232/news_01/releases{/id}","deployments_url":"https://api.github.com/repos/VoTuan232/news_01/deployments","created_at":"2018-09-26T02:53:04Z","updated_at":"2018-09-26T02:53:06Z","pushed_at":"2018-10-11T03:03:59Z","git_url":"git://github.com/VoTuan232/news_01.git","ssh_url":"git@github.com:VoTuan232/news_01.git","clone_url":"https://github.com/VoTuan232/news_01.git","svn_url":"https://github.com/VoTuan232/news_01","homepage":null,"size":291,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PHPEducation:master","ref":"master","sha":"7d846c44dba1894ad92b515084c352575b994f4f","user":{"login":"PHPEducation","id":41612083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjEyMDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41612083?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPEducation","html_url":"https://github.com/PHPEducation","followers_url":"https://api.github.com/users/PHPEducation/followers","following_url":"https://api.github.com/users/PHPEducation/following{/other_user}","gists_url":"https://api.github.com/users/PHPEducation/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPEducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPEducation/subscriptions","organizations_url":"https://api.github.com/users/PHPEducation/orgs","repos_url":"https://api.github.com/users/PHPEducation/repos","events_url":"https://api.github.com/users/PHPEducation/events{/privacy}","received_events_url":"https://api.github.com/users/PHPEducation/received_events","type":"Organization","site_admin":false},"repo":{"id":150238448,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyMzg0NDg=","name":"news_01","full_name":"PHPEducation/news_01","private":false,"owner":{"login":"PHPEducation","id":41612083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjEyMDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41612083?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPEducation","html_url":"https://github.com/PHPEducation","followers_url":"https://api.github.com/users/PHPEducation/followers","following_url":"https://api.github.com/users/PHPEducation/following{/other_user}","gists_url":"https://api.github.com/users/PHPEducation/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPEducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPEducation/subscriptions","organizations_url":"https://api.github.com/users/PHPEducation/orgs","repos_url":"https://api.github.com/users/PHPEducation/repos","events_url":"https://api.github.com/users/PHPEducation/events{/privacy}","received_events_url":"https://api.github.com/users/PHPEducation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PHPEducation/news_01","description":null,"fork":false,"url":"https://api.github.com/repos/PHPEducation/news_01","forks_url":"https://api.github.com/repos/PHPEducation/news_01/forks","keys_url":"https://api.github.com/repos/PHPEducation/news_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PHPEducation/news_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PHPEducation/news_01/teams","hooks_url":"https://api.github.com/repos/PHPEducation/news_01/hooks","issue_events_url":"https://api.github.com/repos/PHPEducation/news_01/issues/events{/number}","events_url":"https://api.github.com/repos/PHPEducation/news_01/events","assignees_url":"https://api.github.com/repos/PHPEducation/news_01/assignees{/user}","branches_url":"https://api.github.com/repos/PHPEducation/news_01/branches{/branch}","tags_url":"https://api.github.com/repos/PHPEducation/news_01/tags","blobs_url":"https://api.github.com/repos/PHPEducation/news_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PHPEducation/news_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PHPEducation/news_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/PHPEducation/news_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PHPEducation/news_01/statuses/{sha}","languages_url":"https://api.github.com/repos/PHPEducation/news_01/languages","stargazers_url":"https://api.github.com/repos/PHPEducation/news_01/stargazers","contributors_url":"https://api.github.com/repos/PHPEducation/news_01/contributors","subscribers_url":"https://api.github.com/repos/PHPEducation/news_01/subscribers","subscription_url":"https://api.github.com/repos/PHPEducation/news_01/subscription","commits_url":"https://api.github.com/repos/PHPEducation/news_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/PHPEducation/news_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/PHPEducation/news_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/PHPEducation/news_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/PHPEducation/news_01/contents/{+path}","compare_url":"https://api.github.com/repos/PHPEducation/news_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PHPEducation/news_01/merges","archive_url":"https://api.github.com/repos/PHPEducation/news_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PHPEducation/news_01/downloads","issues_url":"https://api.github.com/repos/PHPEducation/news_01/issues{/number}","pulls_url":"https://api.github.com/repos/PHPEducation/news_01/pulls{/number}","milestones_url":"https://api.github.com/repos/PHPEducation/news_01/milestones{/number}","notifications_url":"https://api.github.com/repos/PHPEducation/news_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PHPEducation/news_01/labels{/name}","releases_url":"https://api.github.com/repos/PHPEducation/news_01/releases{/id}","deployments_url":"https://api.github.com/repos/PHPEducation/news_01/deployments","created_at":"2018-09-25T09:17:18Z","updated_at":"2018-10-11T01:10:36Z","pushed_at":"2018-10-11T03:04:41Z","git_url":"git://github.com/PHPEducation/news_01.git","ssh_url":"git@github.com:PHPEducation/news_01.git","clone_url":"https://github.com/PHPEducation/news_01.git","svn_url":"https://github.com/PHPEducation/news_01","homepage":null,"size":292,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/9"},"html":{"href":"https://github.com/PHPEducation/news_01/pull/9"},"issue":{"href":"https://api.github.com/repos/PHPEducation/news_01/issues/9"},"comments":{"href":"https://api.github.com/repos/PHPEducation/news_01/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PHPEducation/news_01/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/PHPEducation/news_01/statuses/f39c8c12e066f3ab6e5cbd4439a544e059c63f11"}},"author_association":"NONE"}}
{"actor":{"display_login":"BunnyPi04"}}