{"action":"created","comment":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/92097671","pull_request_review_id":12606464,"id":92097671,"diff_hunk":"@@ -41,17 +41,17 @@ def create\n               message = ts(\"The password you entered has expired. Please click the 'Reset password' link below.\")\n             end\n           elsif user.active?\n-            if @user_session.being_brute_force_protected? \n-           \n+            if @user_session.being_brute_force_protected?","path":"app/controllers/user_sessions_controller.rb","position":6,"original_position":6,"commit_id":"9f1a789b8262fd5a8487388465635a57730a95d9","original_commit_id":"9f1a789b8262fd5a8487388465635a57730a95d9","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the return of the conditional for variable assignment and comparison.","created_at":"2016-12-13T04:50:29Z","updated_at":"2016-12-13T04:50:29Z","html_url":"https://github.com/otwcode/otwarchive/pull/2653#discussion_r92097671","pull_request_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653","_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/92097671"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2653#discussion_r92097671"},"pull_request":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653"}}},"pull_request":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653","id":97686210,"html_url":"https://github.com/otwcode/otwarchive/pull/2653","diff_url":"https://github.com/otwcode/otwarchive/pull/2653.diff","patch_url":"https://github.com/otwcode/otwarchive/pull/2653.patch","issue_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2653","number":2653,"state":"open","locked":false,"title":"AO3-4617 change login error message to include \"reset password\" link","user":{"login":"pixelred","id":18437773,"avatar_url":"https://avatars.githubusercontent.com/u/18437773?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelred","html_url":"https://github.com/pixelred","followers_url":"https://api.github.com/users/pixelred/followers","following_url":"https://api.github.com/users/pixelred/following{/other_user}","gists_url":"https://api.github.com/users/pixelred/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelred/subscriptions","organizations_url":"https://api.github.com/users/pixelred/orgs","repos_url":"https://api.github.com/users/pixelred/repos","events_url":"https://api.github.com/users/pixelred/events{/privacy}","received_events_url":"https://api.github.com/users/pixelred/received_events","type":"User","site_admin":false},"body":"## Issue\r\n\r\nhttps://otwarchive.atlassian.net/browse/AO3-4617\r\n\r\n## Purpose\r\n\r\nthe error message a user sees when they enter the wrong login information has been changed to include a link to the new password page\r\n\r\n(um... i'm 99% sure i've made a mistake; esp in **authenticate_users.feature**)\r\n\r\n## Testing\r\n\r\nplease make sure the old error message \r\n\r\n_The password or user name you entered doesn't match our records. Please try again or follow the 'Forgot password?' link below. If you still can't log in, please visit Problems When Logging In for help._ \r\n\r\nhas been changed to\r\n\r\n _The password or user name you entered doesn't match our records. Please try again or <a href=\"http://archiveofourown.org/passwords/new\">reset your password</a>._","created_at":"2016-12-13T04:50:19Z","updated_at":"2016-12-13T04:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32b7c3ee27d9824f8f3c88660e5d0cb7754e9ca2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653/commits","review_comments_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653/comments","review_comment_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2653/comments","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/9f1a789b8262fd5a8487388465635a57730a95d9","head":{"label":"pixelred:AO3-4617","ref":"AO3-4617","sha":"9f1a789b8262fd5a8487388465635a57730a95d9","user":{"login":"pixelred","id":18437773,"avatar_url":"https://avatars.githubusercontent.com/u/18437773?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelred","html_url":"https://github.com/pixelred","followers_url":"https://api.github.com/users/pixelred/followers","following_url":"https://api.github.com/users/pixelred/following{/other_user}","gists_url":"https://api.github.com/users/pixelred/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelred/subscriptions","organizations_url":"https://api.github.com/users/pixelred/orgs","repos_url":"https://api.github.com/users/pixelred/repos","events_url":"https://api.github.com/users/pixelred/events{/privacy}","received_events_url":"https://api.github.com/users/pixelred/received_events","type":"User","site_admin":false},"repo":{"id":74604838,"name":"otwarchive","full_name":"pixelred/otwarchive","owner":{"login":"pixelred","id":18437773,"avatar_url":"https://avatars.githubusercontent.com/u/18437773?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelred","html_url":"https://github.com/pixelred","followers_url":"https://api.github.com/users/pixelred/followers","following_url":"https://api.github.com/users/pixelred/following{/other_user}","gists_url":"https://api.github.com/users/pixelred/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelred/subscriptions","organizations_url":"https://api.github.com/users/pixelred/orgs","repos_url":"https://api.github.com/users/pixelred/repos","events_url":"https://api.github.com/users/pixelred/events{/privacy}","received_events_url":"https://api.github.com/users/pixelred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pixelred/otwarchive","description":null,"fork":true,"url":"https://api.github.com/repos/pixelred/otwarchive","forks_url":"https://api.github.com/repos/pixelred/otwarchive/forks","keys_url":"https://api.github.com/repos/pixelred/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixelred/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixelred/otwarchive/teams","hooks_url":"https://api.github.com/repos/pixelred/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/pixelred/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/pixelred/otwarchive/events","assignees_url":"https://api.github.com/repos/pixelred/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/pixelred/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/pixelred/otwarchive/tags","blobs_url":"https://api.github.com/repos/pixelred/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixelred/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixelred/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixelred/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixelred/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/pixelred/otwarchive/languages","stargazers_url":"https://api.github.com/repos/pixelred/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/pixelred/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/pixelred/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/pixelred/otwarchive/subscription","commits_url":"https://api.github.com/repos/pixelred/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixelred/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixelred/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixelred/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixelred/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/pixelred/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixelred/otwarchive/merges","archive_url":"https://api.github.com/repos/pixelred/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixelred/otwarchive/downloads","issues_url":"https://api.github.com/repos/pixelred/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/pixelred/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/pixelred/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/pixelred/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixelred/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/pixelred/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/pixelred/otwarchive/deployments","created_at":"2016-11-23T18:46:57Z","updated_at":"2016-11-29T08:07:49Z","pushed_at":"2016-12-13T04:41:38Z","git_url":"git://github.com/pixelred/otwarchive.git","ssh_url":"git@github.com:pixelred/otwarchive.git","clone_url":"https://github.com/pixelred/otwarchive.git","svn_url":"https://github.com/pixelred/otwarchive","homepage":"","size":51980,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"otwcode:master","ref":"master","sha":"5e6ea9e862d811d0dc5f0b04125e85f8fa2f4e56","user":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"repo":{"id":1338040,"name":"otwarchive","full_name":"otwcode/otwarchive","owner":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otwcode/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":false,"url":"https://api.github.com/repos/otwcode/otwarchive","forks_url":"https://api.github.com/repos/otwcode/otwarchive/forks","keys_url":"https://api.github.com/repos/otwcode/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otwcode/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otwcode/otwarchive/teams","hooks_url":"https://api.github.com/repos/otwcode/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/otwcode/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/otwcode/otwarchive/events","assignees_url":"https://api.github.com/repos/otwcode/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/otwcode/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/otwcode/otwarchive/tags","blobs_url":"https://api.github.com/repos/otwcode/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otwcode/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otwcode/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/otwcode/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/otwcode/otwarchive/languages","stargazers_url":"https://api.github.com/repos/otwcode/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/otwcode/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/otwcode/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/otwcode/otwarchive/subscription","commits_url":"https://api.github.com/repos/otwcode/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/otwcode/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/otwcode/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/otwcode/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/otwcode/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otwcode/otwarchive/merges","archive_url":"https://api.github.com/repos/otwcode/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otwcode/otwarchive/downloads","issues_url":"https://api.github.com/repos/otwcode/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/otwcode/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/otwcode/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/otwcode/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otwcode/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/otwcode/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/otwcode/otwarchive/deployments","created_at":"2011-02-07T14:50:58Z","updated_at":"2016-11-20T15:55:50Z","pushed_at":"2016-12-13T04:50:19Z","git_url":"git://github.com/otwcode/otwarchive.git","ssh_url":"git@github.com:otwcode/otwarchive.git","clone_url":"https://github.com/otwcode/otwarchive.git","svn_url":"https://github.com/otwcode/otwarchive","homepage":"http://www.transformativeworks.org/archive_of_our_own/","size":71631,"stargazers_count":226,"watchers_count":226,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":62,"forks":136,"open_issues":62,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2653"},"issue":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2653"},"comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2653/comments"},"review_comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653/comments"},"review_comment":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2653/commits"},"statuses":{"href":"https://api.github.com/repos/otwcode/otwarchive/statuses/9f1a789b8262fd5a8487388465635a57730a95d9"}}}}
{"actor":{"display_login":"houndci-bot"}}