From 1998e1cf94214d693df7cf98fd0c45d2ee490b31 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Wed, 15 Oct 2025 15:55:28 +0800 Subject: [PATCH] perf: Remove code --- src/views/settings/Security/Auth.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/views/settings/Security/Auth.vue b/src/views/settings/Security/Auth.vue index 93b2a6702..3693919e4 100644 --- a/src/views/settings/Security/Auth.vue +++ b/src/views/settings/Security/Auth.vue @@ -20,7 +20,6 @@ export default { [ this.$t('Basic'), [ - 'SECURITY_LOGIN_CAPTCHA_ENABLED', 'SECURITY_LOGIN_CHALLENGE_ENABLED', 'SECURITY_UNCOMMON_USERS_TTL', 'SECURITY_CHECK_DIFFERENT_CITY_LOGIN' @@ -44,7 +43,6 @@ export default { change: ([val], updateForm) => { if (val) { updateForm({ SECURITY_MFA_IN_LOGIN_PAGE: false }) - updateForm({ SECURITY_LOGIN_CAPTCHA_ENABLED: false }) } } } @@ -57,7 +55,6 @@ export default { change: ([val], updateForm) => { if (val) { updateForm({ SECURITY_LOGIN_CHALLENGE_ENABLED: false }) - updateForm({ SECURITY_LOGIN_CAPTCHA_ENABLED: false }) } } }