mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-03 04:18:25 +00:00
Update Helper.php
Username and password for Github no longer able to be supplied in credentials, so can no longer be used by helper.
This commit is contained in:
parent
fb4e987bb3
commit
1615f038d9
@ -48,12 +48,6 @@ abstract class Helper
|
||||
{
|
||||
$options->set('headers', ['Authorization' => 'token ' . $params->get('gh_token', '')]);
|
||||
}
|
||||
// Set the username and password if set in the params
|
||||
elseif ($params->get('gh_user', '') && $params->get('gh_password'))
|
||||
{
|
||||
$options->set('api.username', $params->get('gh_user', ''));
|
||||
$options->set('api.password', $params->get('gh_password', ''));
|
||||
}
|
||||
// Display a message about the lowered API limit without credentials
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user