1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00
This commit is contained in:
Jordi Boggiano 2013-08-18 15:40:00 +02:00
parent 70523a191d
commit d2ef829cc6

View file

@ -68,7 +68,7 @@ abstract class BaseIO implements IOInterface
if (!preg_match('{^[a-z0-9]+$}', $token)) {
throw new \UnexpectedValueException('Your github oauth token for '.$domain.' contains invalid characters: "'.$token.'"');
}
$io->setAuthentication($domain, $token, 'x-oauth-basic');
$this->setAuthentication($domain, $token, 'x-oauth-basic');
}
}
}