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,
|
||||
forceFlow = controller.getForceFlow(), nextKeyUid = controller.getKeyPairForProcessing().getKeyUid())
|
||||
return
|
||||
controller.terminateCurrentFlow(lastStepInTheCurrentFlow = true)
|
||||
if self.flowType == FlowType.MigrateFromAppToKeycard:
|
||||
controller.runLoginFlow()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue