mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
移除未使用配置
This commit is contained in:
@@ -230,7 +230,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
|
||||
<Button
|
||||
type="primary"
|
||||
danger={twoFactorActivated}
|
||||
onClick={activeOrDeactiveTwoFactor}
|
||||
onClick={activeOrDeactivateTwoFactor}
|
||||
>
|
||||
{twoFactorActivated ? intl.get('禁用') : intl.get('启用')}
|
||||
</Button>
|
||||
|
||||
@@ -15,29 +15,6 @@ export default {
|
||||
exclude: [/(\/(en|zh))*\/login/],
|
||||
},
|
||||
],
|
||||
|
||||
/* I18n configuration, `languages` and `defaultLanguage` are required currently. */
|
||||
i18n: {
|
||||
/* Countries flags: https://www.flaticon.com/packs/countries-flags */
|
||||
languages: [
|
||||
{
|
||||
key: 'pt-br',
|
||||
title: 'Português',
|
||||
flag: '/portugal.svg',
|
||||
},
|
||||
{
|
||||
key: 'en',
|
||||
title: 'English',
|
||||
flag: '/america.svg',
|
||||
},
|
||||
{
|
||||
key: 'zh',
|
||||
title: intl.get('中文'),
|
||||
flag: '/china.svg',
|
||||
},
|
||||
],
|
||||
defaultLanguage: 'en',
|
||||
},
|
||||
scopes: [
|
||||
{
|
||||
name: intl.get('定时任务'),
|
||||
|
||||
Reference in New Issue
Block a user