xfy a767f81d21 US-002: 用户模型与认证模块
- src/models/user.rs: User 结构体 + UserRole 枚举 (admin/blocked)
- src/models/session.rs: Session 结构体
- src/auth/password.rs: argon2 密码哈希和验证
- src/auth/session.rs: UUID v4 token 生成、30天过期、过期检查

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 16:17:27 +08:00
2026-05-25 16:17:27 +08:00
2026-05-25 16:15:47 +08:00
2026-05-25 16:15:47 +08:00
2026-05-25 16:15:47 +08:00
2026-05-25 16:17:27 +08:00
2026-05-25 16:15:47 +08:00
Description
No description provided
1.7 MiB
Languages
Rust 89.8%
CSS 5.2%
TypeScript 2.9%
JavaScript 0.9%
Shell 0.5%
Other 0.7%