Clear password field on failed login attempts

This commit is contained in:
Baptiste Grob
2020-03-10 12:14:36 +01:00
parent 07cb17991d
commit bae57aba1b

View File

@@ -168,6 +168,7 @@ class AccountMenuCtrl extends PureCtrl {
this.syncManager.unlockSyncing(); this.syncManager.unlockSyncing();
await this.setFormDataState({ await this.setFormDataState({
status: null, status: null,
user_password: null
}); });
const error = response const error = response
? response.error ? response.error