Skip to content

Commit

Permalink
Implemented #13: Implement integration with GitHub
Browse files Browse the repository at this point in the history
 - 13
Removed debug.
  • Loading branch information
andkirby committed Dec 2, 2015
1 parent 547436a commit fe78913
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion LibHooks/lib/PreCommit/Issue/GitHubAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe78913

Please sign in to comment.