Show the signup phone as text and leave the verification code empty.

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