Commit Graph

3 Commits

Author SHA1 Message Date
815e709339 Refactor password handling and model typing
Replaced custom password generation and verification logic with a new pkg/password.py module using Argon2 for secure hashing. Updated model field types to use PEP 604 union syntax (e.g., str | None) and improved type annotations. Refactored admin and session routes to use new password utilities and direct model methods for CRUD operations. Removed legacy tool-based password functions and cleaned up .idea project files.
2025-10-03 12:01:01 +08:00
db77d6033b 初步迁移数据库 2025-09-28 11:49:26 +08:00
6c512805e8 重构数据库创建部分 2025-08-14 22:30:40 +08:00