Skip to content
Snippets Groups Projects
Verified Commit 998ea589 authored by Mike Perry's avatar Mike Perry Committed by Pier Angelo Vendrame
Browse files
parent 53939681
No related branches found
No related tags found
1 merge request!735Bug 42033: Rebased release onto 102.15.0esr (last 102.x release!)
......@@ -154,6 +154,10 @@ nsHttpNegotiateAuth::ChallengeReceived(nsIHttpAuthenticableChannel* authChannel,
nsIAuthModule* rawModule = (nsIAuthModule*)*continuationState;
*identityInvalid = false;
/* Always fail Negotiate auth for Tor Browser. We don't need it. */
return NS_ERROR_ABORT;
if (rawModule) {
return NS_OK;
}
......
......@@ -168,6 +168,9 @@ nsHttpNTLMAuth::ChallengeReceived(nsIHttpAuthenticableChannel* channel,
*identityInvalid = false;
/* Always fail Negotiate auth for Tor Browser. We don't need it. */
return NS_ERROR_ABORT;
// Start a new auth sequence if the challenge is exactly "NTLM".
// If native NTLM auth apis are available and enabled through prefs,
// try to use them.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment