Merge pull request #1061 from jumpserver/dev

merge: dev to master
This commit is contained in:
Jiangjie.Bai 2021-09-16 20:16:02 +08:00 committed by GitHub
commit 7e8de4c73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -45,6 +45,11 @@ export default {
],
successUrl: { name: 'Settings', params: { activeMenu: 'EmailContent' }},
fieldsMeta: {
LOGIN_CONFIRM_ENABLE: {
hidden: () => {
return !this.$store.getters.hasValidLicense
}
}
},
url: '/api/v1/settings/setting/?category=security'
}

View File

@ -82,7 +82,10 @@ export default {
},
AuthLimit: {
label: this.$t('setting.AuthLimit'),
component: AuthLimit
component: AuthLimit,
hidden: () => {
return !this.$store.getters.hasValidLicense
}
}
},
url: '/api/v1/settings/setting/?category=security'