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-07 17:36:21 +0300
committerFabian Müller <80399010+fmoc@users.noreply.github.com>2022-03-08 17:40:31 +0300
commitbfe6990e2ff423b1c3537e711f030912289c2ad3 (patch)
treee81d7a3079e5d91e2fe09d24715c56a501e4ddab /src/gui/connectionvalidator.h
parente5c62f90c3c38037605c5557ffda4b54552b7a5e (diff)
CheckServerJob: clear cookies under more circumstances
Diffstat (limited to 'src/gui/connectionvalidator.h')
-rw-r--r--src/gui/connectionvalidator.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/connectionvalidator.h b/src/gui/connectionvalidator.h
index 41847245e..e06a4f97b 100644
--- a/src/gui/connectionvalidator.h
+++ b/src/gui/connectionvalidator.h
@@ -99,6 +99,12 @@ public:
// How often should the Application ask this object to check for the connection?
enum { DefaultCallingIntervalMsec = 62 * 1000 };
+
+ /** Whether to clear the cookies before we start the CheckServerJob job
+ * This option also depends on Theme::instance()->connectionValidatorClearCookies()
+ */
+ void setClearCookies(bool clearCookies);
+
public slots:
/// Checks the server and the authentication.
void checkServer();
@@ -106,10 +112,6 @@ public slots:
void systemProxyLookupDone(const QNetworkProxy &proxy);
signals:
- /**
- * Emited before the actual validation starts
- */
- void aboutToStart();
void connectionResult(ConnectionValidator::Status status, const QStringList &errors);
protected slots:
@@ -143,6 +145,7 @@ private:
QStringList _errors;
AccountPtr _account;
bool _updateConfig = true;
+ bool _clearCookies = false;
};
}