diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index c94adce09f..2baabd79d6 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -315,8 +315,9 @@ public class EmailService implements AutoCloseable { @Override public void onPasswordChanged(String newPassword) { DB db = DB.getInstance(context); - int count = db.account().setAccountPassword(account.id, newPassword); - EntityLog.log(context, account.name + " token refreshed=" + count); + int accounts = db.account().setAccountPassword(account.id, newPassword); + int identities = db.identity().setIdentityPassword(account.id, account.user, newPassword, account.auth_type); + EntityLog.log(context, account.name + " token refreshed=" + accounts + "/" + identities); } }, account.certificate_alias, account.fingerprint);