From fe789132a1a8992eb19c15c9887c58c0a7048f0d Mon Sep 17 00:00:00 2001 From: Andrew Roslik Date: Wed, 2 Dec 2015 19:47:49 +0200 Subject: [PATCH] Implemented #13: Implement integration with GitHub - 13 Removed debug. --- LibHooks/lib/PreCommit/Issue/GitHubAdapter.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;