mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Turn simple message box into a prompt when SSH tunnel asks for key passphrase. Closes #284.
This commit is contained in:
@@ -897,7 +897,7 @@ begin
|
||||
end;
|
||||
|
||||
if OutText <> '' then begin
|
||||
if ExecRegExpr('login as\s*\:', OutText) then begin
|
||||
if ExecRegExpr('(login as|Passphrase for key "[^"]+")\s*\:', OutText) then begin
|
||||
// Prompt for username
|
||||
UserInput := InputBox('PLink:', OutText, '');
|
||||
SendText(UserInput + CRLF);
|
||||
|
||||
Reference in New Issue
Block a user