mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
chasquid: Redact AUTH parameters in debug logs
This commit is contained in:
@@ -472,7 +472,11 @@ loop:
|
||||
break
|
||||
}
|
||||
|
||||
if cmd == "AUTH" {
|
||||
c.tr.Debugf("-> AUTH <redacted>")
|
||||
} else {
|
||||
c.tr.Debugf("-> %s %s", cmd, params)
|
||||
}
|
||||
|
||||
var code int
|
||||
var msg string
|
||||
|
||||
Reference in New Issue
Block a user