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

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Duplicati')
-rw-r--r--Duplicati/Library/Backend/Dropbox/DropboxHelper.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs b/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs
index b277f6312..1e7dd9a34 100644
--- a/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs
+++ b/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs
@@ -18,7 +18,9 @@ namespace Duplicati.Library.Backend
: base(accessToken, "dropbox")
{
base.AutoAuthHeader = true;
- base.AccessTokenOnly = true;
+ // Pre 2022 tokens are direct Dropbox tokens (no ':')
+ // Post 2022-02-21 tokens are regular authid tokens (with a ':')
+ base.AccessTokenOnly = !accessToken.Contains(":");
}
public ListFolderResult ListFiles(string path)