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