mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-30 02:54:04 +03:00
ssh: allow empty keyb-interactive responses - fixes #5619
This commit is contained in:
parent
f6eaff355b
commit
b469dd603b
@ -40,7 +40,9 @@ export class KeyboardInteractivePrompt {
|
||||
public instruction: string,
|
||||
public prompts: Prompt[],
|
||||
private callback: (_: string[]) => void,
|
||||
) { }
|
||||
) {
|
||||
this.responses = new Array(this.prompts.length).fill('')
|
||||
}
|
||||
|
||||
respond (): void {
|
||||
this.callback(this.responses)
|
||||
|
Loading…
Reference in New Issue
Block a user