Now also logging the user's shell.

This commit is contained in:
Erik Brakkee 2024-08-10 17:28:51 +02:00
parent a56bb87983
commit 04c8b441ac

View File

@ -38,7 +38,7 @@ templ State(state *models.State, location *time.Location) {
<th>expiry time</th> <th>expiry time</th>
<th>username</th> <th>username</th>
<th>host</th> <th>host</th>
<th>OS</th> <th>os</th>
<th>shell</th> <th>shell</th>
</tr> </tr>
</thead> </thead>
@ -73,6 +73,7 @@ templ State(state *models.State, location *time.Location) {
<th>username</th> <th>username</th>
<th>host</th> <th>host</th>
<th>os</th> <th>os</th>
<th>shell</th>
</tr> </tr>
</thead> </thead>
for _, client := range state.Clients { for _, client := range state.Clients {
@ -84,6 +85,7 @@ templ State(state *models.State, location *time.Location) {
<td>{client.EnvironmentInfo.Username}</td> <td>{client.EnvironmentInfo.Username}</td>
<td>{client.EnvironmentInfo.Hostname}</td> <td>{client.EnvironmentInfo.Hostname}</td>
<td>{client.EnvironmentInfo.OS}</td> <td>{client.EnvironmentInfo.OS}</td>
<td>{client.EnvironmentInfo.Shell}</td>
</tr> </tr>
} }
</table> </table>