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:
Leandro Antônio Farias Machado 2024-09-21 13:19:13 -03:00 committed by GitHub
commit 7200efa6af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {