mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
1 parent
f9a4ff0174
commit
5bdbd0795e
1 file changed
+5
-3
@@ -204,9 +204,11 @@ const getListProviders = (res = {}, next = defaultEmptyFunction, params = {}, us
|
||||
data.DOCUMENT.TEMPLATE.PROVISION_BODY.connection
|
||||
) {
|
||||
const encryptedData = {}
|
||||
for (const key of Object.keys(data.DOCUMENT.TEMPLATE.PROVISION_BODY.connection)) {
|
||||
encryptedData[key] = defaultHideCredentialReplacer
|
||||
}
|
||||
Object.keys(data.DOCUMENT.TEMPLATE.PROVISION_BODY.connection).forEach(
|
||||
key => {
|
||||
encryptedData[key] = defaultHideCredentialReplacer
|
||||
}
|
||||
)
|
||||
data.DOCUMENT.TEMPLATE.PROVISION_BODY.connection = encryptedData
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user