Now also logging the user's shell.
This commit is contained in:
parent
82a21ad4f6
commit
8e131c44a3
@ -38,7 +38,7 @@ templ State(state *models.State, location *time.Location) {
|
||||
<th>expiry time</th>
|
||||
<th>username</th>
|
||||
<th>host</th>
|
||||
<th>OS</th>
|
||||
<th>os</th>
|
||||
<th>shell</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -73,6 +73,7 @@ templ State(state *models.State, location *time.Location) {
|
||||
<th>username</th>
|
||||
<th>host</th>
|
||||
<th>os</th>
|
||||
<th>shell</th>
|
||||
</tr>
|
||||
</thead>
|
||||
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.Hostname}</td>
|
||||
<td>{client.EnvironmentInfo.OS}</td>
|
||||
<td>{client.EnvironmentInfo.Shell}</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user