fix: send ssh username to guacd (default root) for console SSH

This commit is contained in:
mrhid6 committed 2026-07-17 11:54:33 +01:00
1 parent 50907448d2
commit 1ad5b5d6db
6 files changed
+43 -5

No files matched your search

@@ -17,6 +17,8 @@ type ConsoleSession struct {
EndedAt *time.Time `bson:"ended_at,omitempty" json:"ended_at,omitempty"`
ClientIP string `bson:"client_ip,omitempty" json:"client_ip,omitempty"`
SSHUsername string `bson:"ssh_username,omitempty" json:"ssh_username,omitempty"`
RDPUserEnc string `bson:"rdp_user_enc,omitempty" json:"-"`
RDPPassEnc string `bson:"rdp_pass_enc,omitempty" json:"-"`
}