WEB-23 — Reseller web sign-in options and login email
The sign-in page takes a phone or an email and offers a code; the settings page confirms a login email.
| Field | Details |
|---|---|
| Task code | WEB-23 |
| Phase | P1 — V1 build & integration |
| Product scope | V1 |
| Status | Planned |
| Start | Tue 8 Dec 2026 |
| Due | Tue 8 Dec 2026 |
| Responsible | Anis — Full-stack developer |
| Co-responsible | — |
| Effort | 0.5 person-day(s) planned · 1.5 from scratch · size S |
| Area · app | Reseller web · web |
| Depends on | SRV-52 |
| Unblocks | — |
| Milestones | — |
Summary
The sign-in page takes a phone or an email and offers a code; the settings page confirms a login email.
Description
Decision D-65. Texts in French, Arabic and English.
Subtasks
| # | Subtask | Owner |
|---|---|---|
| 1 | Sign-in page: identifier field and code sign-in | Anis |
| 2 | Forgot password: wording for phone or email | Anis |
| 3 | Settings: login email form | Anis |
Deliverables
- apps/web/src/app/[locale]/(auth)/login/page.tsx
- apps/web/src/components/auth/code-login.tsx
- apps/web/src/features/account/login-email-form.tsx
Acceptance criteria
- A reseller signs in with phone, with email, and with a code
- A reseller confirms a login email from the settings
Requirements covered
| Requirement | Title | Release |
|---|---|---|
| AUTH-04 | Reseller sign-in (phone or email + password, or a one-time code) and password reset by OTP | V1 |
Screens
| Screen | Name | App |
|---|---|---|
| RW-01 | Sign in, sign-up (with customer type), OTP, password reset — and guest browsing | RW |
| RW-12 | Profile, store, addresses & settings | RW |
API surface
| Endpoint group | Operations |
|---|---|
| Authentication & sessions | 14 |
| Me, devices, app config & reference data | 9 |
Test measures
- Browser check of the three sign-ins and the email form
KPI
- Delivered by Tue 8 Dec 2026 within 0.5 person-day(s).
- Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
- Zero open critical defects, permission gaps or data-integrity regressions at sign-off.
Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.
SRV-52 — Reseller sign-in by email and by one-time code
Email and password for confirmed reseller emails, purposes EMAIL_CHANGE and LOGIN, auth.loginCode, and a security notice when the login email changes.
QA-01 — End-to-end integration testing on staging
Run the 15 priority acceptance scenarios of the cahier across the four apps on staging with real devices; triage and fix.