mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
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:
parent
f073997aee
commit
38c4d5a406
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue