diff --git a/src/credentials.js b/src/credentials.js index 1d431a30f1..9f0b1d152c 100644 --- a/src/credentials.js +++ b/src/credentials.js @@ -56,6 +56,15 @@ for (const key in defaultCredentials) { CREDENTIALS[key] = defaultCredentials[key]; hasBeenModified = true; } + + if (typeof defaultCredentials[key] === "object") { + for (const subKey in defaultCredentials[key]) { + if (CREDENTIALS[key][subKey] == undefined) { + CREDENTIALS[key][subKey] = defaultCredentials[key][subKey]; + hasBeenModified = true; + } + } + } } if (hasBeenModified) {