Show the signup phone as text and leave the verification code empty.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
093c8b56ea
commit
e518713f1f
@@ -381,30 +381,31 @@ function AuthFormInner() {
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Field
|
||||
id="register-phone-confirm"
|
||||
label="شماره موبایل"
|
||||
name="cellNumber"
|
||||
type="tel"
|
||||
autoComplete="off"
|
||||
dir="ltr"
|
||||
defaultValue={pendingCell || undefined}
|
||||
required
|
||||
/>
|
||||
<div key="register-verify" className="flex w-full flex-col gap-4">
|
||||
<div className="w-full">
|
||||
<p className="auth-label">شماره موبایل</p>
|
||||
<p dir="ltr" className="auth-input text-left">
|
||||
{pendingCell}
|
||||
</p>
|
||||
</div>
|
||||
<Field
|
||||
key="register-otp"
|
||||
id="register-otp"
|
||||
label="کد تأیید پیامکی"
|
||||
name="code"
|
||||
type="text"
|
||||
inputMode="numeric"
|
||||
autoComplete="one-time-code"
|
||||
autoCorrect="off"
|
||||
spellCheck={false}
|
||||
placeholder="123456"
|
||||
dir="ltr"
|
||||
required
|
||||
minLength={4}
|
||||
maxLength={8}
|
||||
defaultValue=""
|
||||
/>
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user