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:
parent
8e021abaeb
commit
c24a4cb4a1
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue