{"action":"created","comment":{"url":"https://api.github.com/repos/Chorus/chorus/pulls/comments/36920677","id":36920677,"diff_hunk":"@@ -56,10 +55,6 @@ def verified_request?\n     super || params[:session_id]\n   end\n \n-  def handle_unverified_request\n-    raise ActionController::InvalidAuthenticityToken\n-  end\n-","path":"app/controllers/application_controller.rb","position":15,"original_position":15,"commit_id":"d5a0e39f93dfddad6a6361996cc44f73cf5f651b","original_commit_id":"d5a0e39f93dfddad6a6361996cc44f73cf5f651b","user":{"login":"AndrewLngdn","id":1474568,"avatar_url":"https://avatars.githubusercontent.com/u/1474568?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewLngdn","html_url":"https://github.com/AndrewLngdn","followers_url":"https://api.github.com/users/AndrewLngdn/followers","following_url":"https://api.github.com/users/AndrewLngdn/following{/other_user}","gists_url":"https://api.github.com/users/AndrewLngdn/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewLngdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewLngdn/subscriptions","organizations_url":"https://api.github.com/users/AndrewLngdn/orgs","repos_url":"https://api.github.com/users/AndrewLngdn/repos","events_url":"https://api.github.com/users/AndrewLngdn/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewLngdn/received_events","type":"User","site_admin":false},"body":"@prakash-alpine handle_unverified_request is a Rails method that is called when Rails detects an invalid request token. It was being over-written, and instead of calling the Rails method that deletes the session and logs the user out (desired behavior), it was raising that ActionController error which would return a 403 without logging the user out","created_at":"2015-08-12T22:10:08Z","updated_at":"2015-08-12T22:10:08Z","html_url":"https://github.com/Chorus/chorus/pull/117#discussion_r36920677","pull_request_url":"https://api.github.com/repos/Chorus/chorus/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/comments/36920677"},"html":{"href":"https://github.com/Chorus/chorus/pull/117#discussion_r36920677"},"pull_request":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/Chorus/chorus/pulls/117","id":41737347,"html_url":"https://github.com/Chorus/chorus/pull/117","diff_url":"https://github.com/Chorus/chorus/pull/117.diff","patch_url":"https://github.com/Chorus/chorus/pull/117.patch","issue_url":"https://api.github.com/repos/Chorus/chorus/issues/117","number":117,"state":"open","locked":false,"title":"update app controller to redirect to login with invalid authenticity token","user":{"login":"AndrewLngdn","id":1474568,"avatar_url":"https://avatars.githubusercontent.com/u/1474568?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewLngdn","html_url":"https://github.com/AndrewLngdn","followers_url":"https://api.github.com/users/AndrewLngdn/followers","following_url":"https://api.github.com/users/AndrewLngdn/following{/other_user}","gists_url":"https://api.github.com/users/AndrewLngdn/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewLngdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewLngdn/subscriptions","organizations_url":"https://api.github.com/users/AndrewLngdn/orgs","repos_url":"https://api.github.com/users/AndrewLngdn/repos","events_url":"https://api.github.com/users/AndrewLngdn/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewLngdn/received_events","type":"User","site_admin":false},"body":"@midnighteuler can you think of any adverse effects from this? It's reverting back to default rails behavior","created_at":"2015-08-05T23:20:10Z","updated_at":"2015-08-12T22:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32e044fcd84bd2dd8daaf338346c662a67ef7ce5","assignee":{"login":"prakash-alpine","id":10120364,"avatar_url":"https://avatars.githubusercontent.com/u/10120364?v=3","gravatar_id":"","url":"https://api.github.com/users/prakash-alpine","html_url":"https://github.com/prakash-alpine","followers_url":"https://api.github.com/users/prakash-alpine/followers","following_url":"https://api.github.com/users/prakash-alpine/following{/other_user}","gists_url":"https://api.github.com/users/prakash-alpine/gists{/gist_id}","starred_url":"https://api.github.com/users/prakash-alpine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prakash-alpine/subscriptions","organizations_url":"https://api.github.com/users/prakash-alpine/orgs","repos_url":"https://api.github.com/users/prakash-alpine/repos","events_url":"https://api.github.com/users/prakash-alpine/events{/privacy}","received_events_url":"https://api.github.com/users/prakash-alpine/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Chorus/chorus/pulls/117/commits","review_comments_url":"https://api.github.com/repos/Chorus/chorus/pulls/117/comments","review_comment_url":"https://api.github.com/repos/Chorus/chorus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Chorus/chorus/issues/117/comments","statuses_url":"https://api.github.com/repos/Chorus/chorus/statuses/d5a0e39f93dfddad6a6361996cc44f73cf5f651b","head":{"label":"Chorus:al-DEV-11832","ref":"al-DEV-11832","sha":"d5a0e39f93dfddad6a6361996cc44f73cf5f651b","user":{"login":"Chorus","id":5614676,"avatar_url":"https://avatars.githubusercontent.com/u/5614676?v=3","gravatar_id":"","url":"https://api.github.com/users/Chorus","html_url":"https://github.com/Chorus","followers_url":"https://api.github.com/users/Chorus/followers","following_url":"https://api.github.com/users/Chorus/following{/other_user}","gists_url":"https://api.github.com/users/Chorus/gists{/gist_id}","starred_url":"https://api.github.com/users/Chorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chorus/subscriptions","organizations_url":"https://api.github.com/users/Chorus/orgs","repos_url":"https://api.github.com/users/Chorus/repos","events_url":"https://api.github.com/users/Chorus/events{/privacy}","received_events_url":"https://api.github.com/users/Chorus/received_events","type":"Organization","site_admin":false},"repo":{"id":2751440,"name":"chorus","full_name":"Chorus/chorus","owner":{"login":"Chorus","id":5614676,"avatar_url":"https://avatars.githubusercontent.com/u/5614676?v=3","gravatar_id":"","url":"https://api.github.com/users/Chorus","html_url":"https://github.com/Chorus","followers_url":"https://api.github.com/users/Chorus/followers","following_url":"https://api.github.com/users/Chorus/following{/other_user}","gists_url":"https://api.github.com/users/Chorus/gists{/gist_id}","starred_url":"https://api.github.com/users/Chorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chorus/subscriptions","organizations_url":"https://api.github.com/users/Chorus/orgs","repos_url":"https://api.github.com/users/Chorus/repos","events_url":"https://api.github.com/users/Chorus/events{/privacy}","received_events_url":"https://api.github.com/users/Chorus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Chorus/chorus","description":"Chorus allows customers, partners, developers, and data scientists to collaboratively realize the potential of Big Data.","fork":false,"url":"https://api.github.com/repos/Chorus/chorus","forks_url":"https://api.github.com/repos/Chorus/chorus/forks","keys_url":"https://api.github.com/repos/Chorus/chorus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chorus/chorus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chorus/chorus/teams","hooks_url":"https://api.github.com/repos/Chorus/chorus/hooks","issue_events_url":"https://api.github.com/repos/Chorus/chorus/issues/events{/number}","events_url":"https://api.github.com/repos/Chorus/chorus/events","assignees_url":"https://api.github.com/repos/Chorus/chorus/assignees{/user}","branches_url":"https://api.github.com/repos/Chorus/chorus/branches{/branch}","tags_url":"https://api.github.com/repos/Chorus/chorus/tags","blobs_url":"https://api.github.com/repos/Chorus/chorus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chorus/chorus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chorus/chorus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chorus/chorus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chorus/chorus/statuses/{sha}","languages_url":"https://api.github.com/repos/Chorus/chorus/languages","stargazers_url":"https://api.github.com/repos/Chorus/chorus/stargazers","contributors_url":"https://api.github.com/repos/Chorus/chorus/contributors","subscribers_url":"https://api.github.com/repos/Chorus/chorus/subscribers","subscription_url":"https://api.github.com/repos/Chorus/chorus/subscription","commits_url":"https://api.github.com/repos/Chorus/chorus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chorus/chorus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chorus/chorus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chorus/chorus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chorus/chorus/contents/{+path}","compare_url":"https://api.github.com/repos/Chorus/chorus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chorus/chorus/merges","archive_url":"https://api.github.com/repos/Chorus/chorus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chorus/chorus/downloads","issues_url":"https://api.github.com/repos/Chorus/chorus/issues{/number}","pulls_url":"https://api.github.com/repos/Chorus/chorus/pulls{/number}","milestones_url":"https://api.github.com/repos/Chorus/chorus/milestones{/number}","notifications_url":"https://api.github.com/repos/Chorus/chorus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chorus/chorus/labels{/name}","releases_url":"https://api.github.com/repos/Chorus/chorus/releases{/id}","created_at":"2011-11-10T20:30:13Z","updated_at":"2015-07-16T13:18:30Z","pushed_at":"2015-08-12T22:05:39Z","git_url":"git://github.com/Chorus/chorus.git","ssh_url":"git@github.com:Chorus/chorus.git","clone_url":"https://github.com/Chorus/chorus.git","svn_url":"https://github.com/Chorus/chorus","homepage":"","size":730724,"stargazers_count":155,"watchers_count":155,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":11,"forks":66,"open_issues":11,"watchers":155,"default_branch":"master"}},"base":{"label":"Chorus:master","ref":"master","sha":"e5ae0bf5faa06323545916b4dd82ab3fe80f5fad","user":{"login":"Chorus","id":5614676,"avatar_url":"https://avatars.githubusercontent.com/u/5614676?v=3","gravatar_id":"","url":"https://api.github.com/users/Chorus","html_url":"https://github.com/Chorus","followers_url":"https://api.github.com/users/Chorus/followers","following_url":"https://api.github.com/users/Chorus/following{/other_user}","gists_url":"https://api.github.com/users/Chorus/gists{/gist_id}","starred_url":"https://api.github.com/users/Chorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chorus/subscriptions","organizations_url":"https://api.github.com/users/Chorus/orgs","repos_url":"https://api.github.com/users/Chorus/repos","events_url":"https://api.github.com/users/Chorus/events{/privacy}","received_events_url":"https://api.github.com/users/Chorus/received_events","type":"Organization","site_admin":false},"repo":{"id":2751440,"name":"chorus","full_name":"Chorus/chorus","owner":{"login":"Chorus","id":5614676,"avatar_url":"https://avatars.githubusercontent.com/u/5614676?v=3","gravatar_id":"","url":"https://api.github.com/users/Chorus","html_url":"https://github.com/Chorus","followers_url":"https://api.github.com/users/Chorus/followers","following_url":"https://api.github.com/users/Chorus/following{/other_user}","gists_url":"https://api.github.com/users/Chorus/gists{/gist_id}","starred_url":"https://api.github.com/users/Chorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chorus/subscriptions","organizations_url":"https://api.github.com/users/Chorus/orgs","repos_url":"https://api.github.com/users/Chorus/repos","events_url":"https://api.github.com/users/Chorus/events{/privacy}","received_events_url":"https://api.github.com/users/Chorus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Chorus/chorus","description":"Chorus allows customers, partners, developers, and data scientists to collaboratively realize the potential of Big Data.","fork":false,"url":"https://api.github.com/repos/Chorus/chorus","forks_url":"https://api.github.com/repos/Chorus/chorus/forks","keys_url":"https://api.github.com/repos/Chorus/chorus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chorus/chorus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chorus/chorus/teams","hooks_url":"https://api.github.com/repos/Chorus/chorus/hooks","issue_events_url":"https://api.github.com/repos/Chorus/chorus/issues/events{/number}","events_url":"https://api.github.com/repos/Chorus/chorus/events","assignees_url":"https://api.github.com/repos/Chorus/chorus/assignees{/user}","branches_url":"https://api.github.com/repos/Chorus/chorus/branches{/branch}","tags_url":"https://api.github.com/repos/Chorus/chorus/tags","blobs_url":"https://api.github.com/repos/Chorus/chorus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chorus/chorus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chorus/chorus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chorus/chorus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chorus/chorus/statuses/{sha}","languages_url":"https://api.github.com/repos/Chorus/chorus/languages","stargazers_url":"https://api.github.com/repos/Chorus/chorus/stargazers","contributors_url":"https://api.github.com/repos/Chorus/chorus/contributors","subscribers_url":"https://api.github.com/repos/Chorus/chorus/subscribers","subscription_url":"https://api.github.com/repos/Chorus/chorus/subscription","commits_url":"https://api.github.com/repos/Chorus/chorus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chorus/chorus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chorus/chorus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chorus/chorus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chorus/chorus/contents/{+path}","compare_url":"https://api.github.com/repos/Chorus/chorus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chorus/chorus/merges","archive_url":"https://api.github.com/repos/Chorus/chorus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chorus/chorus/downloads","issues_url":"https://api.github.com/repos/Chorus/chorus/issues{/number}","pulls_url":"https://api.github.com/repos/Chorus/chorus/pulls{/number}","milestones_url":"https://api.github.com/repos/Chorus/chorus/milestones{/number}","notifications_url":"https://api.github.com/repos/Chorus/chorus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chorus/chorus/labels{/name}","releases_url":"https://api.github.com/repos/Chorus/chorus/releases{/id}","created_at":"2011-11-10T20:30:13Z","updated_at":"2015-07-16T13:18:30Z","pushed_at":"2015-08-12T22:05:39Z","git_url":"git://github.com/Chorus/chorus.git","ssh_url":"git@github.com:Chorus/chorus.git","clone_url":"https://github.com/Chorus/chorus.git","svn_url":"https://github.com/Chorus/chorus","homepage":"","size":730724,"stargazers_count":155,"watchers_count":155,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":11,"forks":66,"open_issues":11,"watchers":155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/117"},"html":{"href":"https://github.com/Chorus/chorus/pull/117"},"issue":{"href":"https://api.github.com/repos/Chorus/chorus/issues/117"},"comments":{"href":"https://api.github.com/repos/Chorus/chorus/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Chorus/chorus/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/Chorus/chorus/statuses/d5a0e39f93dfddad6a6361996cc44f73cf5f651b"}}}}