mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-25 09:58:53 +00:00
perf: change secret
This commit is contained in:
parent
9ec45a889f
commit
fc08f54394
@ -17,7 +17,7 @@ function getAssetPasswordRulesItems() {
|
|||||||
prop: 'length',
|
prop: 'length',
|
||||||
label: i18n.t('xpack.ChangeAuthPlan.PasswordLength'),
|
label: i18n.t('xpack.ChangeAuthPlan.PasswordLength'),
|
||||||
rules: [Required],
|
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