From e777a945686cf5261711a7138d1f739603601c6f Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Wed, 5 Aug 2026 23:00:48 -0600 Subject: [PATCH] =?UTF-8?q?refactor(admin):=20=E5=8E=BB=E6=8E=89=20two=5Ff?= =?UTF-8?q?actor=5Fauth=20=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 后端已删除该 model 字段,2FA 功能整体移除。 Co-Authored-By: Claude Opus 5 --- src/admin/user/list.vue | 1 - src/utils/types.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/admin/user/list.vue b/src/admin/user/list.vue index 5bacdf4..866f6e8 100644 --- a/src/admin/user/list.vue +++ b/src/admin/user/list.vue @@ -172,7 +172,6 @@ function createNewUser() { problem_permission: "None", create_time: new Date(), last_login: new Date(), - two_factor_auth: false, open_api: false, is_disabled: false, password: "", diff --git a/src/utils/types.ts b/src/utils/types.ts index 20feef3..571f2ec 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -35,7 +35,6 @@ export interface User { problem_permission: string create_time: Date last_login: Date - two_factor_auth: boolean open_api: boolean is_disabled: boolean password?: string