mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(auth): guard stale submissions and rework form error mapping (#2358)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user