Cookies: Do set cookies in DetermineAuthTypeJob too

As we don't support cookie based authentication anymore we can provide cookies here.
This fixes issues with loadbalancers access policy managers.
This commit is contained in:
Hannah von Reth 2020-04-01 10:45:45 +02:00 committed by Kevin Ottens
parent f073997aee
commit 38c4d5a406
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -900,8 +900,6 @@ void DetermineAuthTypeJob::start()
req.setAttribute(HttpCredentials::DontAddCredentialsAttribute, true);
// Don't reuse previous auth credentials
req.setAttribute(QNetworkRequest::AuthenticationReuseAttribute, QNetworkRequest::Manual);
// Don't send cookies, we can't determine the auth type if we're logged in
req.setAttribute(QNetworkRequest::CookieLoadControlAttribute, QNetworkRequest::Manual);
// Start three parallel requests