Skip to content

Commit 1615f03

Browse files
Update Helper.php
Username and password for Github no longer able to be supplied in credentials, so can no longer be used by helper.
1 parent fb4e987 commit 1615f03

File tree

1 file changed

+0
-6
lines changed
  • administrator/components/com_patchtester/PatchTester

1 file changed

+0
-6
lines changed

administrator/components/com_patchtester/PatchTester/Helper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ public static function initializeGithub()
4848
{
4949
$options->set('headers', ['Authorization' => 'token ' . $params->get('gh_token', '')]);
5050
}
51-
// Set the username and password if set in the params
52-
elseif ($params->get('gh_user', '') && $params->get('gh_password'))
53-
{
54-
$options->set('api.username', $params->get('gh_user', ''));
55-
$options->set('api.password', $params->get('gh_password', ''));
56-
}
5751
// Display a message about the lowered API limit without credentials
5852
else
5953
{

0 commit comments

Comments
 (0)