Commit Graph

7 Commits

Author SHA1 Message Date
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
liuyuanchuang
b5d177910c feat: add email in userinfo 2026-03-06 14:02:04 +08:00
liuyuanchuang
ed7232e5c0 feat google oauth 2026-03-06 10:28:56 +08:00
liuyuanchuang
a5f1ad153e refactor: update package path 2026-01-27 21:56:21 +08:00
f0449bab25 feat: add user register 2025-12-17 20:43:08 +08:00
0bc77f61e2 feat: update dockerfile 2025-12-10 23:17:24 +08:00
liuyuanchuang
48e63894eb init repo 2025-12-10 18:33:37 +08:00