Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-03-15 14:12:03 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2022-03-15 14:12:03 +0300
commitfd95b7a4de7fd3e0d091d1a72bbfe1eee255205a (patch)
treef47d3616cfec439db5ee19d7ad8336a24c19f713 /src/gui/accountstate.cpp
parent0dd2065bd8fff67f30521f67c37af1fc2f1fb861 (diff)
parentb35eec30325eb9933339e02e66640ca2082ade35 (diff)
Merge remote-tracking branch 'origin/2.10'
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index 26a5f703b..d1e30c876 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -298,10 +298,7 @@ void AccountState::checkConnectivity(bool blockJobs)
// Use a small authed propfind as a minimal ping when we're
// already connected.
if (blockJobs) {
- if (Theme::instance()->connectionValidatorClearCookies()) {
- // clear the cookies directly before we try to validate
- connect(_connectionValidator, &ConnectionValidator::aboutToStart, _account.get(), &Account::clearCookieJar, Qt::DirectConnection);
- }
+ _connectionValidator->setClearCookies(true);
_connectionValidator->checkServer();
} else {
_connectionValidator->checkServerAndUpdate();
@@ -322,6 +319,7 @@ void AccountState::checkConnectivity(bool blockJobs)
// ssl config that does not have a sensible certificate chain.
account()->setSslConfiguration(QSslConfiguration());
//#endif
+ account()->clearCookieJar();
_connectionValidator->checkServerAndUpdate();
}
}