Skip to content

Commit 1edc34f

Browse files
authored
Update src/Renci.SshNet/KeyboardInteractiveAuthenticationMethod.cs
1 parent b763303 commit 1edc34f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Renci.SshNet/KeyboardInteractiveAuthenticationMethod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ private void Session_UserAuthenticationInformationRequestReceived(object sender,
125125
var informationResponse = new InformationResponseMessage();
126126

127127
foreach (var prompt in eventArgs.Prompts)
128+
foreach (var prompt in eventArgs.Prompts.OrderBy(r => r.Id))
128129
{
129130
if (prompt.Response is null)
130131
{

0 commit comments

Comments
 (0)