fix otp paste not filling all fields on mobile

This commit is contained in:
Luca Seemann committed 2026-08-20 01:23:02 +02:00
1 parent c3a70b123d
commit c1c19ca24b
4 files changed
+76 -13

No files matched your search

@@ -100,7 +100,12 @@ export function LoginTwoFactorPage() {
<Text style={{ color: 'var(--color-danger, red)' }}>{lockMessage}</Text>
)}
<Form onSubmit={handleSubmit} error={error ?? undefined} style={{ minWidth: 300 }}>
<Form
onSubmit={handleSubmit}
error={error ?? undefined}
defaultValues={{ backupCode: '' }}
style={{ minWidth: 300 }}
>
{!useBackup ? (
<Column gap="2">
<Text weight="bold">{t(labels.twoFactorEnterCode)}</Text>