fix(@desktop/onboarding): Clear tempPassword before sending login error

Fix #8082
This commit is contained in:
Michal Iskierko 2022-11-14 14:02:25 +01:00 committed by Iuri Matias
parent 7c88f462ec
commit eaf5095490
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ method setSelectedLoginAccount*[T](self: Module[T], item: login_acc_item.Item) =
self.controller.connectKeychain() self.controller.connectKeychain()
method emitAccountLoginError*[T](self: Module[T], error: string) = method emitAccountLoginError*[T](self: Module[T], error: string) =
self.controller.setPassword("")
self.view.emitAccountLoginError(error) self.view.emitAccountLoginError(error)
method emitObtainingPasswordError*[T](self: Module[T], errorDescription: string, errorType: string) = method emitObtainingPasswordError*[T](self: Module[T], errorDescription: string, errorType: string) =