3.3.5; fixes 2fa login issue in 3.3.4

This commit is contained in:
Mo Bitar
2020-04-01 18:51:51 -05:00
parent b79c366ee9
commit b075d1b7fb
5 changed files with 12 additions and 9 deletions

View File

@@ -160,6 +160,9 @@ class AccountMenuCtrl extends PureCtrl {
);
const hasError = !response || response.error;
if (!hasError) {
this.setFormDataState({
user_password: null
});
await this.onAuthSuccess();
this.syncManager.unlockSyncing();
this.syncManager.sync({ performIntegrityCheck: true });
@@ -167,8 +170,7 @@ class AccountMenuCtrl extends PureCtrl {
}
this.syncManager.unlockSyncing();
await this.setFormDataState({
status: null,
user_password: null
status: null
});
const error = response
? response.error