Redact OAuth

This commit is contained in:
M66B 2022-04-09 07:59:24 +02:00
parent 35d153b5dc
commit cbb67293c0
1 changed files with 2 additions and 0 deletions

View File

@ -2034,6 +2034,8 @@ public class Log {
Object value = settings.get(key);
if ("wipe_mnemonic".equals(key) && value != null)
value = "[redacted]";
if (key != null && key.startsWith("oauth."))
value = "[redacted]";
size += write(os, key + "=" + value + "\r\n");
}
}