perf: Remove code

This commit is contained in:
feng
2025-10-15 15:55:28 +08:00
committed by feng626
parent 882a84bab4
commit 1998e1cf94

View File

@@ -20,7 +20,6 @@ export default {
[ [
this.$t('Basic'), this.$t('Basic'),
[ [
'SECURITY_LOGIN_CAPTCHA_ENABLED',
'SECURITY_LOGIN_CHALLENGE_ENABLED', 'SECURITY_LOGIN_CHALLENGE_ENABLED',
'SECURITY_UNCOMMON_USERS_TTL', 'SECURITY_UNCOMMON_USERS_TTL',
'SECURITY_CHECK_DIFFERENT_CITY_LOGIN' 'SECURITY_CHECK_DIFFERENT_CITY_LOGIN'
@@ -44,7 +43,6 @@ export default {
change: ([val], updateForm) => { change: ([val], updateForm) => {
if (val) { if (val) {
updateForm({ SECURITY_MFA_IN_LOGIN_PAGE: false }) updateForm({ SECURITY_MFA_IN_LOGIN_PAGE: false })
updateForm({ SECURITY_LOGIN_CAPTCHA_ENABLED: false })
} }
} }
} }
@@ -57,7 +55,6 @@ export default {
change: ([val], updateForm) => { change: ([val], updateForm) => {
if (val) { if (val) {
updateForm({ SECURITY_LOGIN_CHALLENGE_ENABLED: false }) updateForm({ SECURITY_LOGIN_CHALLENGE_ENABLED: false })
updateForm({ SECURITY_LOGIN_CAPTCHA_ENABLED: false })
} }
} }
} }