From 76b7133eee50affe87221ba54f239209cee487d9 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 20 Sep 2018 17:25:41 +0000 Subject: [PATCH] Skip exporting passwords --- app/src/main/java/eu/faircode/email/EntityAccount.java | 2 +- app/src/main/java/eu/faircode/email/EntityIdentity.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/EntityAccount.java b/app/src/main/java/eu/faircode/email/EntityAccount.java index c905d6ad0f..039984ec58 100644 --- a/app/src/main/java/eu/faircode/email/EntityAccount.java +++ b/app/src/main/java/eu/faircode/email/EntityAccount.java @@ -87,7 +87,7 @@ public class EntityAccount { json.put("host", host); json.put("port", port); json.put("user", user); - json.put("password", password); + json.put("password", ""); json.put("auth_type", auth_type); json.put("primary", primary); json.put("synchronize", synchronize); diff --git a/app/src/main/java/eu/faircode/email/EntityIdentity.java b/app/src/main/java/eu/faircode/email/EntityIdentity.java index 1edc3a693e..3d14152ad6 100644 --- a/app/src/main/java/eu/faircode/email/EntityIdentity.java +++ b/app/src/main/java/eu/faircode/email/EntityIdentity.java @@ -81,7 +81,7 @@ public class EntityIdentity { json.put("port", port); json.put("starttls", starttls); json.put("user", user); - json.put("password", password); + json.put("password", ""); json.put("auth_type", auth_type); json.put("primary", primary); json.put("synchronize", synchronize); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4a6fba1188..8eb2e6ce1e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -56,7 +56,7 @@ Edit folder Setup - Export settings + Export settings (no passwords) Import settings Settings exported Settings imported