From f5c413069e762d8dfe2fdbca1e4f17542e911db2 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 16 Feb 2017 23:42:21 +0000 Subject: [PATCH] Don't leak passwords and token to log. --- .../at/bitfire/davdroid/ui/setup/BaseConfigurationFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/at/bitfire/davdroid/ui/setup/BaseConfigurationFinder.java b/app/src/main/java/at/bitfire/davdroid/ui/setup/BaseConfigurationFinder.java index 738f6f1f..38846b9b 100644 --- a/app/src/main/java/at/bitfire/davdroid/ui/setup/BaseConfigurationFinder.java +++ b/app/src/main/java/at/bitfire/davdroid/ui/setup/BaseConfigurationFinder.java @@ -85,7 +85,7 @@ public class BaseConfigurationFinder { // data classes @RequiredArgsConstructor - @ToString(exclude="logs") + @ToString(exclude={"logs", "authtoken", "rawPassword", "password"}) public static class Configuration implements Serializable { // We have to use URI here because HttpUrl is not serializable!