Commit 9cf8771b authored by Eric's avatar Eric

[update] fix bug

parent c610a4bc
...@@ -192,7 +192,7 @@ func (s *SwitchSession) MapData() map[string]interface{} { ...@@ -192,7 +192,7 @@ func (s *SwitchSession) MapData() map[string]interface{} {
} }
return map[string]interface{}{ return map[string]interface{}{
"id": s.ID, "id": s.ID,
"user": s.p.User.Name, "user": s.p.User.Username,
"asset": s.p.Asset.Hostname, "asset": s.p.Asset.Hostname,
"org_id": s.p.Asset.OrgID, "org_id": s.p.Asset.OrgID,
"login_from": s.p.UserConn.LoginFrom(), "login_from": s.p.UserConn.LoginFrom(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment