From 04c8b441ac37811487c8beb96885d27aec6c42fc Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 10 Aug 2024 17:28:51 +0200 Subject: [PATCH] Now also logging the user's shell. --- pkg/server/templates/sessions.templ | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/server/templates/sessions.templ b/pkg/server/templates/sessions.templ index 0129637..9ff3416 100644 --- a/pkg/server/templates/sessions.templ +++ b/pkg/server/templates/sessions.templ @@ -38,7 +38,7 @@ templ State(state *models.State, location *time.Location) { expiry time username host - OS + os shell @@ -73,6 +73,7 @@ templ State(state *models.State, location *time.Location) { username host os + shell for _, client := range state.Clients { @@ -84,6 +85,7 @@ templ State(state *models.State, location *time.Location) { {client.EnvironmentInfo.Username} {client.EnvironmentInfo.Hostname} {client.EnvironmentInfo.OS} + {client.EnvironmentInfo.Shell} }