Harden auth risk controls and admin reauth

This commit is contained in:
2025-12-26 21:07:47 +08:00
parent f90b0a4f11
commit e3b0c35da6
32 changed files with 741 additions and 92 deletions

View File

@@ -113,6 +113,7 @@ from db.users import (
set_user_vip,
verify_user,
)
from db.security import record_login_context
config = get_config()
@@ -120,7 +121,7 @@ config = get_config()
DB_FILE = config.DB_FILE
# 数据库版本 (用于迁移管理)
DB_VERSION = 11
DB_VERSION = 12
# ==================== 系统配置缓存P1 / O-03 ====================