Commit ce19ac9c authored by Greg Thomas's avatar Greg Thomas

Only update the security.conf if something changes

parent bc6c95a2
......@@ -909,7 +909,7 @@ public class JiveGlobals {
loadOpenfireProperties();
}
// Note; only remove the encryption indicator from XML file if the (encrypted) property is not also defined in the XML file
if (openfireProperties.getProperty(name) == null) {
if (JiveGlobals.isXMLPropertyEncrypted(name) && openfireProperties.getProperty(name) == null) {
securityProperties.removeFromList(ENCRYPTED_PROPERTY_NAMES, name);
}
}
......
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