From c6bd7a0476cb108e9e5c95fcb4db216f609cf888 Mon Sep 17 00:00:00 2001 From: rosstimothy <39066650+rosstimothy@users.noreply.github.com> Date: Mon, 8 May 2023 12:53:07 -0400 Subject: [PATCH] Fix Web UI error message when host is offline (#25661) This change was missed in https://github.com/gravitational/teleport/pull/25430 when backporting to v12. Closes #25648 --- lib/web/terminal.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web/terminal.go b/lib/web/terminal.go index f3be8eb3cac47..45237db76125b 100644 --- a/lib/web/terminal.go +++ b/lib/web/terminal.go @@ -532,6 +532,7 @@ func (t *TerminalHandler) issueSessionMFACerts(ctx context.Context, tc *client.T NodeName: t.sessionData.ServerID, Usage: authproto.UserCertsRequest_SSH, Format: tc.CertificateFormat, + SSHLogin: t.sessionData.Login, }, }, }); err != nil {