Skip to content

Commit d02861a

Browse files
committed
Add log for required auth challenge during login
1 parent 34ef34d commit d02861a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/Authentication/SiteCredentialLoginUseCase.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ extension SiteCredentialLoginUseCase {
333333
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
334334
let authMethod = challenge.protectionSpace.authenticationMethod
335335
receivedAuthChallengeMethod = authMethod
336+
DDLogWarn("⚠️ An authentication challenge is required for login: \(authMethod)")
336337
completionHandler(.performDefaultHandling, nil)
337338
}
338339
}

0 commit comments

Comments
 (0)