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>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>
|
||||||
|
Loading…
Reference in New Issue
Block a user