{"action":"created","issue":{"url":"https://api.github.com/repos/rubykube/barong/issues/636","repository_url":"https://api.github.com/repos/rubykube/barong","labels_url":"https://api.github.com/repos/rubykube/barong/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/rubykube/barong/issues/636/comments","events_url":"https://api.github.com/repos/rubykube/barong/issues/636/events","html_url":"https://github.com/rubykube/barong/issues/636","id":371746200,"node_id":"MDU6SXNzdWUzNzE3NDYyMDA=","number":636,"title":"[Bug] Devise:Lockable:time Not working for User/api/V1","user":{"login":"lizhuomeng71","id":7528736,"node_id":"MDQ6VXNlcjc1Mjg3MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/7528736?v=4","gravatar_id":"","url":"https://api.github.com/users/lizhuomeng71","html_url":"https://github.com/lizhuomeng71","followers_url":"https://api.github.com/users/lizhuomeng71/followers","following_url":"https://api.github.com/users/lizhuomeng71/following{/other_user}","gists_url":"https://api.github.com/users/lizhuomeng71/gists{/gist_id}","starred_url":"https://api.github.com/users/lizhuomeng71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizhuomeng71/subscriptions","organizations_url":"https://api.github.com/users/lizhuomeng71/orgs","repos_url":"https://api.github.com/users/lizhuomeng71/repos","events_url":"https://api.github.com/users/lizhuomeng71/events{/privacy}","received_events_url":"https://api.github.com/users/lizhuomeng71/received_events","type":"User","site_admin":false},"labels":[{"id":933724459,"node_id":"MDU6TGFiZWw5MzM3MjQ0NTk=","url":"https://api.github.com/repos/rubykube/barong/labels/Priority:%20low","name":"Priority: low","color":"fef2c0","default":false},{"id":759443569,"node_id":"MDU6TGFiZWw3NTk0NDM1Njk=","url":"https://api.github.com/repos/rubykube/barong/labels/type:%20bug","name":"type: bug","color":"ee0701","default":false},{"id":932519595,"node_id":"MDU6TGFiZWw5MzI1MTk1OTU=","url":"https://api.github.com/repos/rubykube/barong/labels/v1.8","name":"v1.8","color":"3a9efc","default":false},{"id":933865116,"node_id":"MDU6TGFiZWw5MzM4NjUxMTY=","url":"https://api.github.com/repos/rubykube/barong/labels/v1.9","name":"v1.9","color":"1fa533","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T23:03:00Z","updated_at":"2018-11-26T09:30:55Z","closed_at":null,"author_association":"NONE","body":"Step to Reproduce:\r\n\r\n1. Through API, Login with wrong password for more than 5 times.\r\n2. Account is locked\r\n3. Wait for more than 1 hour, (Or Change the database Account->locked_at to more than 1 hours ago\r\n4. Sent an Request to /api/v1/accounts/send_unlock_instructions\r\n\r\nExpect:\r\nAn Unlock instruction email should be sent\r\n\r\nActual:\r\nError Message \"Your Account is not locked\"\r\nWhile the account is in fact locked\r\n\r\nNote:\r\nI understand this bug may relate to auto unlock after 1 hour, but seems it's not auto locking, and it prevent me to sent an unlock email after 1 hour\r\n\r\n\r\nThis is a blocker bug, because once user get into that states, there is no way to unlock the account (by user. by admin or by anybody except to update the database)\r\n\r\nRelease Version\r\n1.8.35\r\n"},"comment":{"url":"https://api.github.com/repos/rubykube/barong/issues/comments/441573304","html_url":"https://github.com/rubykube/barong/issues/636#issuecomment-441573304","issue_url":"https://api.github.com/repos/rubykube/barong/issues/636","id":441573304,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTU3MzMwNA==","user":{"login":"m-an","id":15743844,"node_id":"MDQ6VXNlcjE1NzQzODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/15743844?v=4","gravatar_id":"","url":"https://api.github.com/users/m-an","html_url":"https://github.com/m-an","followers_url":"https://api.github.com/users/m-an/followers","following_url":"https://api.github.com/users/m-an/following{/other_user}","gists_url":"https://api.github.com/users/m-an/gists{/gist_id}","starred_url":"https://api.github.com/users/m-an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-an/subscriptions","organizations_url":"https://api.github.com/users/m-an/orgs","repos_url":"https://api.github.com/users/m-an/repos","events_url":"https://api.github.com/users/m-an/events{/privacy}","received_events_url":"https://api.github.com/users/m-an/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T09:30:55Z","updated_at":"2018-11-26T09:30:55Z","author_association":"MEMBER","body":"Fixed in 1.9 by https://github.com/rubykube/barong/pull/649"}}
{"actor":{"display_login":"m-an"}}