Skip to content

Commit

Permalink
Fix logging authentication info
Browse files Browse the repository at this point in the history
  • Loading branch information
stevapple authored Aug 29, 2024
1 parent 1486234 commit ae48e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (s *Server) handler(conn net.Conn) {
log.Println("runPipeSession:", err)
}
for _, attr := range attrs {
logger = logger.With(attr)
*logger = *logger.With(attr)
}
}
}
Expand Down

0 comments on commit ae48e06

Please sign in to comment.