Fix: Enable pasting into OTP inputs

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 22:12:25 +00:00
parent d620787f42
commit 9dff5a3e2b
2 changed files with 0 additions and 2 deletions

View File

@@ -90,7 +90,6 @@ export function MFAChallenge({ factorId, onSuccess, onCancel }: MFAChallengeProp
value={code}
onChange={setCode}
onComplete={handleVerify}
onPaste={(e) => e.preventDefault()}
>
<InputOTPGroup>
<InputOTPSlot index={0} />

View File

@@ -458,7 +458,6 @@ export function PasswordUpdateDialog({ open, onOpenChange, onSuccess }: Password
value={totpCode}
onChange={setTotpCode}
disabled={loading}
onPaste={(e) => e.preventDefault()}
>
<InputOTPGroup>
<InputOTPSlot index={0} />