1
0
Fork 0
pull/2185/merge
Jordi Boggiano 2013-08-18 15:40:00 +02:00
parent 70523a191d
commit d2ef829cc6
1 changed files with 1 additions and 1 deletions

View File

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