mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: change secret
This commit is contained in:
parent
9ec45a889f
commit
fc08f54394
@ -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')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user