|
|
@ -56,7 +56,7 @@ public class Vault implements VaultInterface { |
|
|
|
} else if (input.equals("n")) { |
|
|
|
println("Should you PW have numbers? Type in yes or no."); |
|
|
|
String inputN = scan.nextLine(); |
|
|
|
setNumbers(input); |
|
|
|
setNumbers(inputN); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -129,6 +129,7 @@ public class Vault implements VaultInterface { |
|
|
|
sbcm.append("Configure credentials:\n"); |
|
|
|
sbcm.append("- add credential: a\n"); |
|
|
|
sbcm.append("- show credential: c\n"); |
|
|
|
sbcm.append("- edit credential: l\n"); |
|
|
|
sbcm.append("- exit: e\n"); |
|
|
|
|
|
|
|
println(sbcm.toString()); |
|
|
@ -141,6 +142,8 @@ public class Vault implements VaultInterface { |
|
|
|
println("Type username:"); |
|
|
|
} else if (input.equals("c")) { |
|
|
|
println("Type username or ID to show credential:"); |
|
|
|
} else if (input.equals("l")) { |
|
|
|
println("Type username or ID to select credential:"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |