Recruitment_site/offer_backend/apps/accounts
TianyangZhang b6d5a51c3d fix: 邮箱字段设置为唯一且必填,改善错误提示
后端改动:
- User.email 设置为 unique=True,确保每个邮箱只能注册一次
- 这样 SendCodeView 能正确查找到已注册的邮箱

前端改动:
- LoginView 增加详细的错误日志输出
- 捕获更多错误信息类型帮助调试

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-25 16:09:48 +08:00
..
migrations fix: 邮箱字段设置为唯一且必填,改善错误提示 2026-03-25 16:09:48 +08:00
tests feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00
__init__.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00
apps.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00
models.py fix: 邮箱字段设置为唯一且必填,改善错误提示 2026-03-25 16:09:48 +08:00
permissions.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00
serializers.py feat: 改为邮箱验证码注册,注册完成后自动登入 2026-03-25 15:51:03 +08:00
urls.py feat: 实现邮箱验证码登入功能 2026-03-25 15:30:23 +08:00
views.py feat: 登入页面支持求职者和管理员两种角色 2026-03-25 15:59:30 +08:00