Skip to content

Commit 739da06

Browse files
committed
Cancel unhandled auth challenge
1 parent f2a8594 commit 739da06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Authentication/SiteCredentialLoginUseCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,6 @@ extension SiteCredentialLoginUseCase {
329329
let authMethod = challenge.protectionSpace.authenticationMethod
330330
receivedAuthChallengeMethod = authMethod
331331
DDLogWarn("⚠️ An authentication challenge is required for login: \(authMethod)")
332-
completionHandler(.performDefaultHandling, nil)
332+
completionHandler(.cancelAuthenticationChallenge, nil)
333333
}
334334
}

0 commit comments

Comments
 (0)