mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-25 06:03:36 +03:00
parent
f9a4ff0174
commit
5bdbd0795e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user