Merge pull request #338 from OktopUSP/autofix/alert-18-6f0ee6eb7e
Fix code scanning alert #18: Clear-text logging of sensitive information
This commit is contained in:
commit
7200efa6af
|
|
@ -96,7 +96,7 @@ func (b *Bridge) StartBridge(serverUrl, clientId string) {
|
|||
|
||||
log.Println("MQTT client id:", pahoClientConfig.ClientID)
|
||||
log.Println("MQTT username:", b.Mqtt.Username)
|
||||
log.Println("MQTT password:", b.Mqtt.Password)
|
||||
log.Println("MQTT password: [REDACTED]")
|
||||
|
||||
cm, err := autopaho.NewConnection(b.Ctx, autopahoClientConfig)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user