- User entity: email nullable, add phone field (nullable unique) - AuthService/Controller: login/register accept email OR phone - UserRepository: findByPhone(), findByIdentifier() (auto-detects email vs phone) - Migration 007: ALTER public.users + all existing tenant schemas to add phone - Tenant schema template (002): users table now includes phone column - Register page: enterprise-focused design, email/phone toggle, app download section - Auth i18n (zh/en): new keys for phone, enterprise messaging, download CTA Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public/icons | ||
| src | ||
| .dockerignore | ||
| Dockerfile | ||
| deploy.sh | ||
| next-env.d.ts | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||