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-22 17:56:23 +0300
committerHannah von Reth <vonreth@kde.org>2022-03-23 12:45:42 +0300
commita849011b8f2a9d7e4a6820d21b5e924bed0fd070 (patch)
treed7eb2656a01d364b4b6d6bc21c09d99db4e5b240 /src/gui/connectionvalidator.cpp
parent75dd2e795a5b91638691e7658132227548ffb840 (diff)
Remove support for legacy dav endpoint
Diffstat (limited to 'src/gui/connectionvalidator.cpp')
-rw-r--r--src/gui/connectionvalidator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/connectionvalidator.cpp b/src/gui/connectionvalidator.cpp
index 15fd4b5c3..8b886d0a7 100644
--- a/src/gui/connectionvalidator.cpp
+++ b/src/gui/connectionvalidator.cpp
@@ -24,6 +24,7 @@
#include "connectionvalidator.h"
#include "networkjobs.h"
#include "networkjobs/jsonjob.h"
+#include "theme.h"
#include <creds/abstractcredentials.h>
using namespace std::chrono_literals;
@@ -181,7 +182,7 @@ void ConnectionValidator::checkAuthentication()
qCDebug(lcConnectionValidator) << "# Check whether authenticated propfind works.";
// we explicitly use a legacy dav path here
- PropfindJob *job = new PropfindJob(_account, _account->davUrl(), {}, this);
+ PropfindJob *job = new PropfindJob(_account, _account->url(), Theme::instance()->webDavPath(), this);
job->setAuthenticationJob(true); // don't retry
job->setTimeout(timeoutToUse);
job->setProperties({ QByteArrayLiteral("getlastmodified") });