Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

fix: resolves JottaCloud connectivity issue

towfiqi644ded83a0bd
diff --git a/backend/src/utils/providers.ts b/backend/src/utils/providers.ts
index d8b4483..45b2fa7 100644
--- a/backend/src/utils/providers.ts
+++ b/backend/src/utils/providers.ts
@@ -371,7 +371,10 @@ export const providers: Record<string, ProviderConfig> = {
features: providerFeatures['jottacloud'],
setup: (creds, type) => {
if (type === 'password') {
- return ['user', creds.user, 'pass', creds.pass];
+ if (!creds.login_token) {
+ return false;
+ }
+ return ['config_login_token', creds.login_token, 'config_type', 'standard'];
} else {
if (!creds.client_id || !creds.client_secret) {
return false;