{"action":"created","issue":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/916","labels_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/916/comments","events_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/916/events","html_url":"https://github.com/ZoneMinder/ZoneMinder/pull/916","id":92128434,"number":916,"title":"Api auth","user":{"login":"connortechnology","id":925519,"avatar_url":"https://avatars.githubusercontent.com/u/925519?v=3","gravatar_id":"","url":"https://api.github.com/users/connortechnology","html_url":"https://github.com/connortechnology","followers_url":"https://api.github.com/users/connortechnology/followers","following_url":"https://api.github.com/users/connortechnology/following{/other_user}","gists_url":"https://api.github.com/users/connortechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/connortechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connortechnology/subscriptions","organizations_url":"https://api.github.com/users/connortechnology/orgs","repos_url":"https://api.github.com/users/connortechnology/repos","events_url":"https://api.github.com/users/connortechnology/events{/privacy}","received_events_url":"https://api.github.com/users/connortechnology/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/labels/Not%20Ready%20for%20Merge","name":"Not Ready for Merge","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-30T15:44:51Z","updated_at":"2015-07-14T13:13:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/pulls/916","html_url":"https://github.com/ZoneMinder/ZoneMinder/pull/916","diff_url":"https://github.com/ZoneMinder/ZoneMinder/pull/916.diff","patch_url":"https://github.com/ZoneMinder/ZoneMinder/pull/916.patch"},"body":"Adds auth layer to api.\r\nCurrently just denies access if auth is turned on.\r\nLogin does not work becase cakephp doesn't not work with mysql's PASSWORD hashes."},"comment":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/comments/121234609","html_url":"https://github.com/ZoneMinder/ZoneMinder/pull/916#issuecomment-121234609","issue_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/916","id":121234609,"user":{"login":"SteveGilvarry","id":7613276,"avatar_url":"https://avatars.githubusercontent.com/u/7613276?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveGilvarry","html_url":"https://github.com/SteveGilvarry","followers_url":"https://api.github.com/users/SteveGilvarry/followers","following_url":"https://api.github.com/users/SteveGilvarry/following{/other_user}","gists_url":"https://api.github.com/users/SteveGilvarry/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveGilvarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveGilvarry/subscriptions","organizations_url":"https://api.github.com/users/SteveGilvarry/orgs","repos_url":"https://api.github.com/users/SteveGilvarry/repos","events_url":"https://api.github.com/users/SteveGilvarry/events{/privacy}","received_events_url":"https://api.github.com/users/SteveGilvarry/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T13:13:49Z","updated_at":"2015-07-14T13:13:49Z","body":"An example of changing hash method that I liked. Not sure if we have a way implement the immediate hashing of old passwords in db on upgrade, but at least to change password hash on logon.\r\nhttps://stackoverflow.com/questions/19955793/migrating-users-table-with-hashed-password-from-old-php-app-to-new-laravel-app"}}