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:
parent
850994e349
commit
bdc7d47820
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue