wealth/docs/pages/market/auth-login-verify.md

3.8 KiB

Login: code

/auth/login/verify · apps/{bull,bear}/src/app/(auth)/auth/login/verify/page.tsx · Type: login · Layout: layout.md

Field Value
Robots noindex (page metadata)
Status 200; without a number in the auth-flow store (a reload), the step sends the visitor back to /auth/login in the browser
loading.tsx apps/{bull,bear}/src/app/(auth)/auth/login/verify/loading.tsx
First flush none
Canonical none set
H1 CodeStep's heading; browser only
JSON-LD none
Scripts none beyond the layout's

Sections

In bull's document order.

Section Data HTML JS Index Notes
AuthTopBar (bull) config first flush none no back button and auth:login.header
↳ BackButton (bull) URL first flush hydrate no <a href> to /auth/login, keeping ?redirect=
AuthTemplate header (bear) config first flush none no brand <a href="/">
StepBack (bear) URL first flush hydrate no «بازگشت» above the card to /auth/login, keeping ?redirect=
SupportEntry — first flush hydrate no bull: bottom sheet; bear: popover; the dialog mounts only when open
NetworkBar — none hydrate no under the bar, only while offline or reconnecting
LoginVerifyStep viewer skeleton hydrate no GuestGuard fallback SkeletonPreset preset="form"; guest with a number: the number, 6 code cells, resend, support
↳ ResendCode wait clock skeleton hydrate no island ResendCode with endsAt from the flow store

Notes

  • Decision 0013: the step renders only in the browser; the phone number lives in memory, never in the URL or storage, so a reload returns to the number step.
  • Wrong codes are counted in the flow store; the third blocks the number for the server's block time (use-code-step.ts, event handlers only).