1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Enable on reauth

This commit is contained in:
M66B 2021-10-07 07:15:58 +02:00
parent 8e021abaeb
commit c24a4cb4a1
2 changed files with 2 additions and 0 deletions

View file

@ -529,6 +529,7 @@ public class FragmentGmail extends FragmentBase {
} else {
args.putLong("account", update.id);
EntityLog.log(context, "Gmail update account=" + update.name);
db.account().setAccountSynchronize(update.id, true);
db.account().setAccountPassword(update.id, password);
db.identity().setIdentityPassword(update.id, update.user, password, update.auth_type);
}

View file

@ -858,6 +858,7 @@ public class FragmentOAuth extends FragmentBase {
} else {
args.putLong("account", update.id);
EntityLog.log(context, "OAuth update account=" + update.name);
db.account().setAccountSynchronize(update.id, true);
db.account().setAccountPassword(update.id, state);
db.identity().setIdentityPassword(update.id, update.user, state, update.auth_type);
}