fix(@desktop/onboarding): Clear tempPassword before sending login error
Fix #8082
This commit is contained in:
parent
7c88f462ec
commit
eaf5095490
|
@ -268,6 +268,7 @@ method setSelectedLoginAccount*[T](self: Module[T], item: login_acc_item.Item) =
|
|||
self.controller.connectKeychain()
|
||||
|
||||
method emitAccountLoginError*[T](self: Module[T], error: string) =
|
||||
self.controller.setPassword("")
|
||||
self.view.emitAccountLoginError(error)
|
||||
|
||||
method emitObtainingPasswordError*[T](self: Module[T], errorDescription: string, errorType: string) =
|
||||
|
|
Loading…
Reference in New Issue