|
|
f594a3e9fb
|
feat: add email verify code endpoint and require code on register
- POST /v1/user/email/code sends a 6-digit verify code via email (rate-limited, 10min TTL)
- RegisterByEmail now validates verify_code before creating the account
- Added email code cache helpers mirroring SMS pattern
- Added error codes 1007 (email code error) and 1008 (send limit)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-27 09:50:23 +08:00 |
|