diff --git a/LibHooks/lib/PreCommit/Issue/GitHubAdapter.php b/LibHooks/lib/PreCommit/Issue/GitHubAdapter.php index 8c87835..21de56b 100644 --- a/LibHooks/lib/PreCommit/Issue/GitHubAdapter.php +++ b/LibHooks/lib/PreCommit/Issue/GitHubAdapter.php @@ -245,7 +245,10 @@ protected function getApi() { if ($this->api === null) { $this->api = new Api(); - $this->api->authenticate('andkirby', 'gigaleon33'); + $this->api->authenticate( + $this->getConfig()->getNode('tracker/github/username'), + $this->getConfig()->getNode('tracker/github/password') + ); } return $this->api;