Skip to content

Commit a18731f

Browse files
committed
Fixed issues
1 parent 605afe2 commit a18731f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapter/Filesystem/SatelliteBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ public function build(): Configurator\SatelliteInterface
209209
'gitlab-oauth' => $composer->addGitlabOauthAuthentication($authentication['token'], $url),
210210
'gitlab-token' => $composer->addGitlabTokenAuthentication($authentication['token'], $url),
211211
'github-oauth' => $composer->addGithubOauthAuthentication($authentication['token'], $url),
212-
'http-basic' => $composer->addHttpBasicAuthentication($url, $authentication['username'], $url),
212+
'http-basic' => $composer->addHttpBasicAuthentication($url, $authentication['username'], $authentication['password']),
213213
'http-bearer' => $composer->addHttpBearerAuthentication($url, $authentication['token']),
214-
default => $composer->addAuthenticationToken($url, $authentication['token']),
214+
default => throw new \LogicException(),
215215
};
216216
}
217217
}

0 commit comments

Comments
 (0)