mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Redact OAuth
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user