BookSystem/backend/auth/requirements.txt
jayhgq c98adab6ce feat(auth): 添加验证码功能以增强登录安全性
实现验证码生成、存储和验证逻辑
- 新增验证码生成工具函数
- 在登录接口中添加验证码校验
- 添加获取验证码图片的API端点
- 更新用户登录schema包含验证码字段
- 添加captcha依赖到requirements.txt
2026-04-28 17:42:00 +08:00

31 lines
458 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# FastAPI核心
fastapi>=0.133.0
uvicorn[standard]>=0.41.0
fastapi_cdn_host==0.10.0
# Pydantic数据验证
pydantic>=2.5.0
pydantic-settings>=2.1.0
pydantic[email]>=2.5.0
# 密码加密
passlib[bcrypt]>=1.7.4
# FastCRUD
fastcrud==0.21.0
# JWT
python-jose[cryptography]>=3.3.0
# SQLAlchemy ORM包含异步支持
sqlalchemy>=2.0.46
alembic>=1.18.4
# PostgreSQL
asyncpg>=0.31.0
# Redis异步客户端
redis>=7.2.0
# 验证码生成
captcha>=0.7.1