{"action":"created","issue":{"url":"https://api.github.com/repos/aces/Loris/issues/3950","repository_url":"https://api.github.com/repos/aces/Loris","labels_url":"https://api.github.com/repos/aces/Loris/issues/3950/labels{/name}","comments_url":"https://api.github.com/repos/aces/Loris/issues/3950/comments","events_url":"https://api.github.com/repos/aces/Loris/issues/3950/events","html_url":"https://github.com/aces/Loris/pull/3950","id":359200029,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NzQ4MDky","number":3950,"title":"[Core: Login] Add rate limiting/account lockout","user":{"login":"johnsaigle","id":4022790,"node_id":"MDQ6VXNlcjQwMjI3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4022790?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsaigle","html_url":"https://github.com/johnsaigle","followers_url":"https://api.github.com/users/johnsaigle/followers","following_url":"https://api.github.com/users/johnsaigle/following{/other_user}","gists_url":"https://api.github.com/users/johnsaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsaigle/subscriptions","organizations_url":"https://api.github.com/users/johnsaigle/orgs","repos_url":"https://api.github.com/users/johnsaigle/repos","events_url":"https://api.github.com/users/johnsaigle/events{/privacy}","received_events_url":"https://api.github.com/users/johnsaigle/received_events","type":"User","site_admin":false},"labels":[{"id":152305520,"node_id":"MDU6TGFiZWwxNTIzMDU1MjA=","url":"https://api.github.com/repos/aces/Loris/labels/Feature","name":"Feature","color":"1d76db","default":false},{"id":990951898,"node_id":"MDU6TGFiZWw5OTA5NTE4OTg=","url":"https://api.github.com/repos/aces/Loris/labels/Security","name":"Security","color":"fbca04","default":false},{"id":708895955,"node_id":"MDU6TGFiZWw3MDg4OTU5NTU=","url":"https://api.github.com/repos/aces/Loris/labels/[branch]%20minor","name":"[branch] minor","color":"996633","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-11T19:56:57Z","updated_at":"2018-12-11T18:13:07Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/3950","html_url":"https://github.com/aces/Loris/pull/3950","diff_url":"https://github.com/aces/Loris/pull/3950.diff","patch_url":"https://github.com/aces/Loris/pull/3950.patch"},"body":"### Brief summary of changes\r\n\r\nMake it so that many bad passwords attempts result in a message telling the user they'll need to wait before trying to login again. This helps protect us in the case where an attacker would try many many logins to try to break in to LORIS.\r\n\r\nMore detailed explanations exist in the comments to the code.\r\n\r\nAddresses rate limiting mentioned in #3314 \r\n\r\n### To test this change...\r\n\r\n**Note** until [[Core: Login] Log login attempts using bad passwords](#3949) is merged, the below won't work because we don't actually log bad passwords attempts right now...\r\n\r\n- [x] Check out the branch and try to log in 10 times with a bad password. A message will appear  \r\n"},"comment":{"url":"https://api.github.com/repos/aces/Loris/issues/comments/446304106","html_url":"https://github.com/aces/Loris/pull/3950#issuecomment-446304106","issue_url":"https://api.github.com/repos/aces/Loris/issues/3950","id":446304106,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjMwNDEwNg==","user":{"login":"johnsaigle","id":4022790,"node_id":"MDQ6VXNlcjQwMjI3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4022790?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsaigle","html_url":"https://github.com/johnsaigle","followers_url":"https://api.github.com/users/johnsaigle/followers","following_url":"https://api.github.com/users/johnsaigle/following{/other_user}","gists_url":"https://api.github.com/users/johnsaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsaigle/subscriptions","organizations_url":"https://api.github.com/users/johnsaigle/orgs","repos_url":"https://api.github.com/users/johnsaigle/repos","events_url":"https://api.github.com/users/johnsaigle/events{/privacy}","received_events_url":"https://api.github.com/users/johnsaigle/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T18:13:07Z","updated_at":"2018-12-11T18:13:07Z","author_association":"CONTRIBUTOR","body":"@driusan Can you re-review when you have the time?"}}
{"actor":{"display_login":"johnsaigle"}}