chore: renamed keyPassword to passphrase for consistency with ssh2 module

This commit is contained in:
Bill Church 2024-12-02 21:21:04 +00:00
parent 829b5cdd75
commit 5a77fc2082
No known key found for this signature in database

View file

@ -26,7 +26,7 @@ class WebSSH2Socket extends EventEmitter {
username: null, username: null,
password: null, password: null,
privateKey: null, privateKey: null,
keyPassword: null, passphrase: null,
host: null, host: null,
port: null, port: null,
term: null, term: null,
@ -146,7 +146,7 @@ class WebSSH2Socket extends EventEmitter {
username: creds.username, username: creds.username,
password: creds.password, password: creds.password,
privateKey: creds.privateKey, privateKey: creds.privateKey,
keyPassword: creds.keyPassword, passphrase: creds.passphrase,
host: creds.host, host: creds.host,
port: creds.port port: creds.port
}) })