Skip to content

Commit ae48e06

Browse files
authored
Fix logging authentication info
1 parent 1486234 commit ae48e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshmux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (s *Server) handler(conn net.Conn) {
165165
log.Println("runPipeSession:", err)
166166
}
167167
for _, attr := range attrs {
168-
logger = logger.With(attr)
168+
*logger = *logger.With(attr)
169169
}
170170
}
171171
}

0 commit comments

Comments
 (0)