diff --git a/pool/app/pool_common/pool_common_utils.ml b/pool/app/pool_common/pool_common_utils.ml index e8a28c1e9..663f971b5 100644 --- a/pool/app/pool_common/pool_common_utils.ml +++ b/pool/app/pool_common/pool_common_utils.ml @@ -34,7 +34,9 @@ module PoolConformist = struct let input = input |> CCList.map (fun (k, v) -> - CCFormat.sprintf "(%s: %s)" k (CCString.concat ", " v)) + if CCInt.equal CCString.(find ~sub:"password" (lowercase_ascii k)) (-1) + then CCFormat.sprintf "(%s: [opaque])" k + else CCFormat.sprintf "(%s: %s)" k (CCString.concat ", " v)) |> CCString.concat ", " |> CCFormat.sprintf "(%s)" in