From 93797a1d34486a57256bb88264eb618aa90f506c Mon Sep 17 00:00:00 2001 From: NI Date: Fri, 27 Sep 2019 09:58:24 +0800 Subject: [PATCH] Change the word "Password" to "Passphrase" to match the inputbox may later appear --- ui/commands/ssh.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/commands/ssh.js b/ui/commands/ssh.js index 9679be2..bd024b4 100644 --- a/ui/commands/ssh.js +++ b/ui/commands/ssh.js @@ -391,10 +391,10 @@ const initialFieldDef = { "cause the login to fail", type: "radio", value: "", - example: "Password,Private Key,None", + example: "Passphrase,Private Key,None", verify(d) { switch (d) { - case "Password": + case "Passphrase": case "Private Key": case "None": return ""; @@ -434,7 +434,8 @@ function getAuthMethodFromStr(d) { case "None": return AUTHMETHOD_NONE; - case "Password": + case "Passphrase": + case "Password": // TODO: Remove this after depreciation period. return AUTHMETHOD_PASSPHRASE; case "Private Key":