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/Library/Backend/Jottacloud/JottacloudAuthHelper.cs')
-rw-r--r--Duplicati/Library/Backend/Jottacloud/JottacloudAuthHelper.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Duplicati/Library/Backend/Jottacloud/JottacloudAuthHelper.cs b/Duplicati/Library/Backend/Jottacloud/JottacloudAuthHelper.cs
index d8a5d2f48..b6b4a146d 100644
--- a/Duplicati/Library/Backend/Jottacloud/JottacloudAuthHelper.cs
+++ b/Duplicati/Library/Backend/Jottacloud/JottacloudAuthHelper.cs
@@ -28,6 +28,7 @@ namespace Duplicati.Library.Backend
: base(accessToken, "jottacloud")
{
base.AutoAuthHeader = true;
+ base.AutoV2 = false; // Jottacloud is not v2 compatible because it generates a new refresh token with every access token refresh and invalidates the old.
var userinfo = GetJSONData<UserInfo>(USERINFO_URL);
if (userinfo == null || string.IsNullOrEmpty(userinfo.Username))