Skip to content

Commit 8d6c7cf

Browse files
committed
fix minor bug in logic
1 parent 1580126 commit 8d6c7cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/src/Credentials/IniFileProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function getCredentialsFromProfile(array $profilesData, string $profile,
104104
}
105105

106106
if (isset($profileData[IniFileLoader::KEY_SSO_START_URL])) {
107-
if (class_exists(SsoClient::class)) {
107+
if (!class_exists(SsoClient::class)) {
108108
$this->logger->warning('The profile "{profile}" contains SSO (legacy) config but the "async-aws/sso" package is not installed. Try running "composer require async-aws/sso".', ['profile' => $profile]);
109109

110110
return null;

0 commit comments

Comments
 (0)