don't leak user name in logs

pull/28/head
geeksville 2020-04-20 08:48:42 -07:00
rodzic e142637993
commit 25740c4fe4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1099,7 +1099,7 @@ class MeshService : Service(), Logging {
override fun setOwner(myId: String?, longName: String, shortName: String) =
toRemoteExceptions {
debug("SetOwner $myId : $longName : $shortName")
debug("SetOwner $myId : ${longName.anonymized} : $shortName")
val user = MeshProtos.User.newBuilder().also {
if (myId != null) // Only set the id if it was provided