payload: {"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/28","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/28/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/28/events","html_url":"https://github.com/silverstripe/silverstripe-totp-authenticator/issues/28","id":471443971,"node_id":"MDU6SXNzdWU0NzE0NDM5NzE=","number":28,"title":"isAvailable() relies on getenv() which ignores _ss_environment.php","user":{"login":"indygriffiths","id":32345766,"node_id":"MDQ6VXNlcjMyMzQ1NzY2","avatar_url":"https://avatars1.githubusercontent.com/u/32345766?v=4","gravatar_id":"","url":"https://api.github.com/users/indygriffiths","html_url":"https://github.com/indygriffiths","followers_url":"https://api.github.com/users/indygriffiths/followers","following_url":"https://api.github.com/users/indygriffiths/following{/other_user}","gists_url":"https://api.github.com/users/indygriffiths/gists{/gist_id}","starred_url":"https://api.github.com/users/indygriffiths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indygriffiths/subscriptions","organizations_url":"https://api.github.com/users/indygriffiths/orgs","repos_url":"https://api.github.com/users/indygriffiths/repos","events_url":"https://api.github.com/users/indygriffiths/events{/privacy}","received_events_url":"https://api.github.com/users/indygriffiths/received_events","type":"User","site_admin":false},"labels":[{"id":1308388373,"node_id":"MDU6TGFiZWwxMzA4Mzg4Mzcz","url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/labels/affects/v3","name":"affects/v3","color":"d4c5f9","default":false},{"id":1308388485,"node_id":"MDU6TGFiZWwxMzA4Mzg4NDg1","url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/labels/change/patch","name":"change/patch","color":"fef2c0","default":false},{"id":1308388498,"node_id":"MDU6TGFiZWwxMzA4Mzg4NDk4","url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/labels/effort/easy","name":"effort/easy","color":"c2e0c6","default":false},{"id":1308388561,"node_id":"MDU6TGFiZWwxMzA4Mzg4NTYx","url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/labels/impact/high","name":"impact/high","color":"eb6420","default":false},{"id":1303172875,"node_id":"MDU6TGFiZWwxMzAzMTcyODc1","url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/labels/type/bug","name":"type/bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-07-23T01:30:51Z","updated_at":"2019-07-25T11:01:42Z","closed_at":null,"author_association":"NONE","body":"Bit of veeery minor feedback, but for local development I was expecting that adding a `define('SS_MFA_SECRET_KEY')` to my _ss_environment.php file would satisfy the requirement of having that defined in order to make the method available. \r\n\r\n`Method::isAvailable()` relies on `getenv()` which doesn't take into account any defines in _ss_environment.php, which took me a wee bit to work out. May be worth updating the docs or something about how it needs to be a proper envvar."},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/comments/515000065","html_url":"https://github.com/silverstripe/silverstripe-totp-authenticator/issues/28#issuecomment-515000065","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-totp-authenticator/issues/28","id":515000065,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTAwMDA2NQ==","user":{"login":"robbieaverill","id":5170590,"node_id":"MDQ6VXNlcjUxNzA1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5170590?v=4","gravatar_id":"","url":"https://api.github.com/users/robbieaverill","html_url":"https://github.com/robbieaverill","followers_url":"https://api.github.com/users/robbieaverill/followers","following_url":"https://api.github.com/users/robbieaverill/following{/other_user}","gists_url":"https://api.github.com/users/robbieaverill/gists{/gist_id}","starred_url":"https://api.github.com/users/robbieaverill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbieaverill/subscriptions","organizations_url":"https://api.github.com/users/robbieaverill/orgs","repos_url":"https://api.github.com/users/robbieaverill/repos","events_url":"https://api.github.com/users/robbieaverill/events{/privacy}","received_events_url":"https://api.github.com/users/robbieaverill/received_events","type":"User","site_admin":false},"created_at":"2019-07-25T11:01:42Z","updated_at":"2019-07-25T11:01:42Z","author_association":"MEMBER","body":"Fix at https://github.com/silverstripe/silverstripe-totp-authenticator/pull/30\r\n"}}
other: {"actor":{"display_login":"robbieaverill"}}