1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-04 02:28:18 +00:00

Update OAuth token for alias identities

This commit is contained in:
M66B 2025-01-08 21:50:49 +01:00
parent 850994e349
commit bdc7d47820

View file

@ -401,10 +401,9 @@ public class EmailService implements AutoCloseable {
public void onPasswordChanged(Context context, String newPassword) {
DB db = DB.getInstance(context);
identity.password = newPassword;
int count = db.identity().setIdentityPassword(identity.id, identity.password);
int identities = db.identity().setIdentityPassword(identity.account, identity.user, identity.password, identity.auth_type, identity.auth_type, identity.provider);
EntityLog.log(context, EntityLog.Type.Account, identity.account, null, null,
identity.email + " token refreshed=" + count);
identity.email + "/" + identity.user + " token refreshed=" + identities);
}
},
identity.certificate_alias, identity.fingerprint);