Once upon a time where settings worked
This commit is contained in:
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user