Skip to content

Commit 6e6b9a6

Browse files
committed
fixes auth string parsing
1 parent 79b3c77 commit 6e6b9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/BiblioTech/CodexChecking/CodexWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private ICodexNode CreateCodex()
6868

6969
private HttpFactory CreateHttpFactory()
7070
{
71-
if (string.IsNullOrEmpty(config.CodexEndpointAuth) && config.CodexEndpointAuth.Contains(":"))
71+
if (string.IsNullOrEmpty(config.CodexEndpointAuth) || !config.CodexEndpointAuth.Contains(":"))
7272
{
7373
return new HttpFactory(log);
7474
}

0 commit comments

Comments
 (0)