Jordi Boggiano 11 years ago
parent
commit
d2ef829cc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/IO/BaseIO.php

+ 1 - 1
src/Composer/IO/BaseIO.php

@@ -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');
             }
         }
     }