Once upon a time where settings worked

This commit is contained in:
Johannes Zellner
2020-05-14 23:35:03 +02:00
parent 00cff1a728
commit 573da29a4d
+3 -1
View File
@@ -106,8 +106,10 @@ function injectPrivateFields(newConfig, currentConfig) {
if (newConfig.password === constants.SECRET_PLACEHOLDER) {
delete newConfig.password;
}
newConfig.encryption = currentConfig.encryption || null;
} else {
newConfig.encryption = null;
}
newConfig.encryption = currentConfig.encryption || null;
if (newConfig.provider === currentConfig.provider) api(newConfig.provider).injectPrivateFields(newConfig, currentConfig);
}