Skip to content

Commit

Permalink
fix: Clear-text logging of sensitive information
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Mudrykh committed Jul 27, 2023
1 parent 217d18d commit 243c137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pkg/amqp/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (c *AMQPClient) handleAddUser(data map[string]interface{}) {
c.logger.Printf("Error: %v", err)
return
}
c.logger.Printf("userEmail: %s; name: %s; password: %s", userEmail, name, password)
c.logger.Printf("userEmail: %s; name: %s", userEmail, name)
}

func (c *AMQPClient) handleDeleteUser(data map[string]interface{}) {
Expand Down

0 comments on commit 243c137

Please sign in to comment.