Enable on reauth

pull/206/head
M66B 3 years ago
parent 8e021abaeb
commit c24a4cb4a1

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

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

Loading…
Cancel
Save