Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 7faae4a

Browse files
committed
Remove clientId check from IsCertificateConfigurationProvided
1 parent fb9071b commit 7faae4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/NuGet.Services.Configuration/ConfigurationRootSecretReaderFactory.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ public ISecretInjector CreateSecretInjector(ISecretReader secretReader)
102102

103103
private bool IsCertificateConfigurationProvided()
104104
{
105-
return !string.IsNullOrEmpty(_clientId)
106-
|| !string.IsNullOrEmpty(_certificateThumbprint)
105+
return !string.IsNullOrEmpty(_certificateThumbprint)
107106
|| !string.IsNullOrEmpty(_tenantId);
108107
}
109108
}

0 commit comments

Comments
 (0)