do not record password in log
This commit is contained in:
parent
b62a28ef64
commit
fe59155d3a
|
@ -72,6 +72,9 @@ func (handler *CommandHandler) Handle(roomID id.RoomID, user *User, message stri
|
|||
Command: strings.ToLower(args[0]),
|
||||
Args: args[1:],
|
||||
}
|
||||
if ce.Command == "login" {
|
||||
message = ""
|
||||
}
|
||||
handler.log.Debugfln("%s sent '%s' in %s", user.MXID, message, roomID)
|
||||
if roomID == handler.bridge.Config.Bridge.Relaybot.ManagementRoom {
|
||||
handler.CommandRelaybot(ce)
|
||||
|
|
Loading…
Reference in New Issue