feat: add admin social login bindings
This commit is contained in:
@@ -26,15 +26,21 @@ from db.migrations import migrate_database as _migrate_database
|
||||
from db.admin import (
|
||||
admin_reset_user_password,
|
||||
clean_old_operation_logs,
|
||||
delete_admin_social_login_binding,
|
||||
find_admin_social_login_binding,
|
||||
find_admin_social_login_binding_by_identity,
|
||||
get_admin_by_id,
|
||||
ensure_default_admin,
|
||||
get_admin_by_username,
|
||||
get_hourly_registration_count,
|
||||
get_system_config_raw as _get_system_config_raw,
|
||||
get_system_stats,
|
||||
list_admin_social_login_bindings,
|
||||
update_admin_password,
|
||||
update_admin_username,
|
||||
update_system_config as _update_system_config,
|
||||
update_admin_social_login_binding_profile,
|
||||
upsert_admin_social_login_binding,
|
||||
verify_admin,
|
||||
)
|
||||
from db.accounts import (
|
||||
@@ -144,7 +150,7 @@ logger = get_logger(__name__)
|
||||
DB_FILE = config.DB_FILE
|
||||
|
||||
# 数据库版本 (用于迁移管理)
|
||||
DB_VERSION = 22
|
||||
DB_VERSION = 23
|
||||
|
||||
|
||||
# ==================== 系统配置缓存(P1 / O-03) ====================
|
||||
|
||||
Reference in New Issue
Block a user