commit 21bcbab2a29bbbe062cc358ef7e127362bdddded parent d1a5c5fd433b10536c466509571c4ceb5a560c62 Author: Sebastian <sebasjm@taler-systems.com> Date: Mon, 2 Mar 2026 16:56:43 -0300 fix #11157 Diffstat:
| M | packages/merchant-backoffice-ui/src/components/SolveMFA.tsx | | | 11 | ++++++++++- |
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/packages/merchant-backoffice-ui/src/components/SolveMFA.tsx b/packages/merchant-backoffice-ui/src/components/SolveMFA.tsx @@ -335,7 +335,7 @@ export function SolveMFAChallenges({ // setSolved(newSolved); // } // }} - onSolved={() => { + onSolved={async () => { setSelected(undefined); const total = [...solved, selected.ch.challenge_id]; const enough = currentChallenge.combi_and @@ -345,6 +345,15 @@ export function SolveMFAChallenges({ onCompleted.withArgs(total).call(); } else { setSolved(total); + const nextPending = currentChallenge.challenges.find(c => { + const time = retransmission[c.tan_channel]; + const expired = AbsoluteTime.isExpired(time) + const pending = solved.indexOf(c.challenge_id) === -1 + return pending && expired + }) + if (nextPending) { + sendMessage.withArgs(nextPending).call() + } } }} />