Commit 573da29a authored by Johannes Zellner's avatar Johannes Zellner

Once upon a time where settings worked

parent 00cff1a7
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment