Change the word "Password" to "Passphrase" to match the inputbox may later appear
This commit is contained in:
@@ -391,10 +391,10 @@ const initialFieldDef = {
|
|||||||
"cause the login to fail",
|
"cause the login to fail",
|
||||||
type: "radio",
|
type: "radio",
|
||||||
value: "",
|
value: "",
|
||||||
example: "Password,Private Key,None",
|
example: "Passphrase,Private Key,None",
|
||||||
verify(d) {
|
verify(d) {
|
||||||
switch (d) {
|
switch (d) {
|
||||||
case "Password":
|
case "Passphrase":
|
||||||
case "Private Key":
|
case "Private Key":
|
||||||
case "None":
|
case "None":
|
||||||
return "";
|
return "";
|
||||||
@@ -434,7 +434,8 @@ function getAuthMethodFromStr(d) {
|
|||||||
case "None":
|
case "None":
|
||||||
return AUTHMETHOD_NONE;
|
return AUTHMETHOD_NONE;
|
||||||
|
|
||||||
case "Password":
|
case "Passphrase":
|
||||||
|
case "Password": // TODO: Remove this after depreciation period.
|
||||||
return AUTHMETHOD_PASSPHRASE;
|
return AUTHMETHOD_PASSPHRASE;
|
||||||
|
|
||||||
case "Private Key":
|
case "Private Key":
|
||||||
|
|||||||
Reference in New Issue
Block a user