Harden auth risk controls and admin reauth
This commit is contained in:
@@ -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) ====================
|
||||
|
||||
Reference in New Issue
Block a user