Skip to content

Commit

Permalink
Merge pull request #34 from JMolenkamp/change-auth-without-password
Browse files Browse the repository at this point in the history
Allow authentication without a password
  • Loading branch information
perkops authored Jun 14, 2024
2 parents 944feae + 31163f1 commit 3238727
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void SetConnectionInformation(
BaseAddress = baseUri,
};

if (!string.IsNullOrEmpty(userName) && !string.IsNullOrEmpty(password))
if (!string.IsNullOrEmpty(userName))
{
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue(
Expand Down

0 comments on commit 3238727

Please sign in to comment.