diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/log/MessageLogCollector.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/log/MessageLogCollector.kt index 1b0a02a9..739fbbf9 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/log/MessageLogCollector.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/log/MessageLogCollector.kt @@ -108,6 +108,11 @@ open class MessageLogCollector { .replace(bank.customerId, "") .replace("+" + bank.pin, "+") + if (bank.userId != bank.customerId) { + prettyPrintMessageWithoutSensitiveData = prettyPrintMessageWithoutSensitiveData + .replace(bank.userId, "") + } + if (bank.customerName.isNotBlank()) { prettyPrintMessageWithoutSensitiveData = prettyPrintMessageWithoutSensitiveData .replace(bank.customerName, "", true)