mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +00:00
perf: change secret
This commit is contained in:
@@ -17,7 +17,7 @@ function getAssetPasswordRulesItems() {
|
||||
prop: 'length',
|
||||
label: i18n.t('xpack.ChangeAuthPlan.PasswordLength'),
|
||||
rules: [Required],
|
||||
hidden: ({ secret_strategy, secret_type }) => (secret_strategy !== 'specific' || secret_type !== 'password')
|
||||
hidden: ({ secret_strategy, secret_type }) => (secret_strategy === 'specific' || secret_type !== 'password')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user