fix(auth): guard stale submissions and rework form error mapping (#2358)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-02 17:26:18 +02:00
1 parent f703969e80
commit 25f4332b9e
43 files changed
+739 -683

No files matched your search

@@ -89,7 +89,7 @@ const MfaScreen = ({challenge, inviteCode, onSuccess, onCancel}: MfaScreenProps)
label={i18n._(CODE_DESCRIPTOR)}
value={form.getValue('code')}
onChange={(value) => form.setValue('code', value)}
error={form.getError('code') || fieldErrors?.code}
error={form.getError('code') || fieldErrors?.get('code')}
data-flx="auth.flow.mfa-screen.form-field.set-value.text"
/>
<Button