|
|
|
@ -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);
|
|
|
|
|