Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jun 27, 2024
1 parent 605afe2 commit a18731f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adapter/Filesystem/SatelliteBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ public function build(): Configurator\SatelliteInterface
'gitlab-oauth' => $composer->addGitlabOauthAuthentication($authentication['token'], $url),
'gitlab-token' => $composer->addGitlabTokenAuthentication($authentication['token'], $url),
'github-oauth' => $composer->addGithubOauthAuthentication($authentication['token'], $url),
'http-basic' => $composer->addHttpBasicAuthentication($url, $authentication['username'], $url),
'http-basic' => $composer->addHttpBasicAuthentication($url, $authentication['username'], $authentication['password']),
'http-bearer' => $composer->addHttpBearerAuthentication($url, $authentication['token']),
default => $composer->addAuthenticationToken($url, $authentication['token']),
default => throw new \LogicException(),
};
}
}
Expand Down

0 comments on commit a18731f

Please sign in to comment.