Fixes inconsistent key password property name (#384)
Corrects the property name for key-based authentication from `key_password` to `keyPassword` to ensure consistency with the expected data structure. This resolves potential issues with mismatched property names during SSH host configuration.
This commit was merged in pull request #384.
This commit is contained in:
@@ -1412,7 +1412,7 @@ router.post(
|
||||
hostData.authType === "credential" ? hostData.credentialId : null,
|
||||
key: hostData.authType === "key" ? hostData.key : null,
|
||||
key_password:
|
||||
hostData.authType === "key" ? hostData.key_password : null,
|
||||
hostData.authType === "key" ? hostData.keyPassword : null,
|
||||
keyType:
|
||||
hostData.authType === "key" ? hostData.keyType || "auto" : null,
|
||||
pin: hostData.pin || false,
|
||||
|
||||
Reference in New Issue
Block a user