fix(keycard): copy keycard flow is blocked if the keycard user is copying to is locked and doesn't belong to any of the app's known keypairs
This commit is contained in:
parent
4405397e18
commit
d8102fa2b3
|
@ -22,6 +22,7 @@ method executePrePrimaryStateCommand*(self: WrongKeycardState, controller: Contr
|
||||||
controller.terminateCurrentFlow(lastStepInTheCurrentFlow = true, nextFlow = FlowType.MigrateFromAppToKeycard,
|
controller.terminateCurrentFlow(lastStepInTheCurrentFlow = true, nextFlow = FlowType.MigrateFromAppToKeycard,
|
||||||
forceFlow = controller.getForceFlow(), nextKeyUid = controller.getKeyPairForProcessing().getKeyUid())
|
forceFlow = controller.getForceFlow(), nextKeyUid = controller.getKeyPairForProcessing().getKeyUid())
|
||||||
return
|
return
|
||||||
|
controller.terminateCurrentFlow(lastStepInTheCurrentFlow = true)
|
||||||
if self.flowType == FlowType.MigrateFromAppToKeycard:
|
if self.flowType == FlowType.MigrateFromAppToKeycard:
|
||||||
controller.runLoginFlow()
|
controller.runLoginFlow()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue