Compare commits

..

1 Commits

Author SHA1 Message Date
jiangweidong
8556b91fc4 perf: Allow admins to configure available MFA services for user auth 2025-12-05 10:53:07 +08:00
2 changed files with 5 additions and 7 deletions

View File

@@ -243,12 +243,10 @@ export default {
delete routeFilter.search delete routeFilter.search
} }
const asFilterTags = _.cloneDeep(this.filterTags) const asFilterTags = _.cloneDeep(this.filterTags)
setTimeout(() => { this.filterTags = {
this.filterTags = { ...asFilterTags,
...asFilterTags, ...routeFilter
...routeFilter }
}
}, 100)
}, },
getValueLabel(key, value) { getValueLabel(key, value) {
for (const field of this.options) { for (const field of this.options) {

View File

@@ -31,7 +31,7 @@ export default {
[ [
'SECURITY_MFA_AUTH', 'SECURITY_MFA_AUTH',
'SECURITY_MFA_IN_LOGIN_PAGE', 'SECURITY_MFA_IN_LOGIN_PAGE',
'SECURITY_MFA_BY_EMAIL', 'SECURITY_MFA_ENABLED_BACKENDS',
'SECURITY_MFA_AUTH_ENABLED_FOR_THIRD_PARTY', 'SECURITY_MFA_AUTH_ENABLED_FOR_THIRD_PARTY',
'SECURITY_MFA_VERIFY_TTL', 'SECURITY_MFA_VERIFY_TTL',
'OTP_ISSUER_NAME', 'OTP_VALID_WINDOW' 'OTP_ISSUER_NAME', 'OTP_VALID_WINDOW'