Drop autoComplete=one-time-code to avoid OTP autofill state desync

Co-Authored-By: mantra <mantra@stack-auth.com>
This commit is contained in:
Devin AI 2026-07-14 02:32:20 +00:00
parent d5f6e571ae
commit aeb1304823

View File

@ -67,7 +67,6 @@ function MagicLinkOtp(props: {
maxLength={6}
type="text"
inputMode="text"
autoComplete="one-time-code"
pattern="^[a-zA-Z0-9]+$"
value={otp}
onChange={(value) => setOtp(value.toUpperCase())}