fix(@desktop/onboarding): wrong screen when logging in with incorrect password
Fixes: #10819
This commit is contained in:
parent
e8c4199ed1
commit
32b9d72246
|
@ -421,8 +421,9 @@ method onNodeLogin*[T](self: Module[T], error: string) =
|
||||||
else:
|
else:
|
||||||
self.moveToStartupState()
|
self.moveToStartupState()
|
||||||
if currStateObj.flowType() == state.FlowType.AppLogin:
|
if currStateObj.flowType() == state.FlowType.AppLogin:
|
||||||
self.view.setCurrentStartupState(newLoginState(state.FlowType.AppLogin, nil))
|
if self.controller.isSelectedLoginAccountKeycardAccount():
|
||||||
self.controller.runLoginFlow()
|
self.view.setCurrentStartupState(newLoginState(state.FlowType.AppLogin, nil))
|
||||||
|
self.controller.runLoginFlow()
|
||||||
self.emitAccountLoginError(error)
|
self.emitAccountLoginError(error)
|
||||||
else:
|
else:
|
||||||
self.emitStartupError(error, StartupErrorType.SetupAccError)
|
self.emitStartupError(error, StartupErrorType.SetupAccError)
|
||||||
|
|
Loading…
Reference in New Issue