syntaqxSix-digit codes are typed into six boxes: the sign-in's second step, turning two-factor on or off in settings, and confirming an email address. It is shadcn's Input OTP (components/ui/input-otp.tsx, on input-otp 1.4.2) in g1t's tokens: two groups of three with a rule between, the current box ringed in lavender with a blinking caret (still under reduced motion), every box red when the code was refused. One real input sits under the boxes with the field's id, name="code" and autocomplete="one-time-code", so password managers and phones' code suggestions fill it and the form posts what it did before. A pasted "123 456" or "123-456" lands as six digits. On sign-in and email confirmation the form is sent as soon as the sixth digit is in, and a refused code is cleared and the boxes focused for the next. Where a recovery code is also taken (signing in, turning two-factor off), "Use a recovery code" switches to the text field, and a recovery code pasted into the boxes switches by itself with the code carried across, so one is never cut to digits (lib/otp.ts looksLikeRecoveryCode, codeDigits). components/one-time-code.tsx holds CodeSlots and TwoFactorCodeField. Checked: apps/web tsc -b and npm test (993; new: pasted codes and telling a recovery code apart; the confirm page's field test reads the boxes), and the fields rendered alone in headless Chrome driven over CDP: focus on load, typing 123456 submitted 123456, pasting "987 654" gave 987654 and submitted, pasting k7m2q-9xw4d into the boxes moved it whole to the Recovery code field. Not tried with a real password manager or on a phone.2fe7d45History
- ..
- 0001_init.sql
- 0002_own_provider.sql
- 0003_subscriptions.sql
- 0004_sandbox_time.sql
- 0005_limits.sql
- 0006_prices.sql
- 0007_pending_usage.sql
- 0008_accounts.sql
- 0009_autopay.sql
- 0010_month_close.sql
- 0011_limit_warnings.sql
- 0012_stripe_webhooks.sql
- 0013_invoices_trust_sales.sql
- 0014_custom_domain_price.sql
- 0015_sandbox_at_cost.sql
- 0016_plans_and_pools.sql
- 0017_flagon_comped.sql
- 0018_one_plan.sql
- 0019_closed_workspaces.sql
- 0020_syntaqx_standard.sql
- 0021_no_quotas.sql
- 0022_costs_and_margin.sql
- 0023_one_operation_mapping.sql
- 0024_spend_caps.sql
- 0025_run_tier.sql
- 0026_ledger_by_workspace_time.sql
- 0027_stripe_cache.sql
- 0028_drop_stripe_webhooks.sql
- 0029_audit_retention.sql
- 0030_token_usage.sql
- 0031_package_storage.sql
- 0032_workspace_value.sql
- 0033_given_away.sql
- 0034_given_by_why.sql
- 0035_cf_subscriptions.sql
- 0036_model_costs_in_full.sql
- 0037_security_activation.sql
- 0038_staff_credits.sql
- 0039_discounts_not_comped.sql
- 0040_ai_credit.sql
- 0041_agent_rate_own_key.sql
- 0042_agent_rate_weights.sql
- 0043_tax_and_card_fees.sql
- 0044_cache_reads_count_a_tenth.sql
- 0045_gateway.sql
- 0046_reset_costs.sql
- 0047_gateway_formats.sql
- 0048_model_catalogue.sql
- 0049_superseded_proposals.sql
- 0050_ledger_usage_by_time.sql
- 0051_platform_guardrails.sql
- 0052_cloudflare_cycle.sql
- 0053_models_at_cost.sql
- 0054_agent_attribution.sql
- 0055_app_containers.sql
- 0056_sandbox_standard_3.sql
- 0057_runner_minutes.sql
- 0058_payment_safety.sql
- 0059_telemetry_ingest.sql
- 0060_pending_baselines.sql
- 0061_measured_months.sql
- 0062_invoice_attempts.sql
- 0063_enterprise_attempts.sql
- 0064_complimentary.sql
- 0065_free_except_flagon.sql