安全修复和管理员账号密码自定义

This commit is contained in:
2025-12-13 12:37:18 +08:00
parent 7d924bb81e
commit 4606407356
5 changed files with 24 additions and 38 deletions

View File

@@ -10,6 +10,9 @@ DATABASE_URL=sqlite+aiosqlite:///./qquiz.db
# JWT Secret (must be at least 32 characters; generate randomly for production)
SECRET_KEY=
# Default admin username (must be at least 3 characters; default: admin)
ADMIN_USERNAME=admin
# Default admin password (must be at least 12 characters; generate randomly for production)
ADMIN_PASSWORD=