mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-12 03:23:08 +00:00
perf: change secret is_active (#9667)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
parent
b5d814e9be
commit
266e7e0dd7
@ -53,6 +53,7 @@ class ChangeSecretAutomationSerializer(AuthValidateMixin, BaseAutomationSerializ
|
|||||||
'ssh_key_change_strategy', 'passphrase', 'recipients',
|
'ssh_key_change_strategy', 'passphrase', 'recipients',
|
||||||
]
|
]
|
||||||
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
|
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
|
||||||
|
'accounts': {'required': True},
|
||||||
'recipients': {'label': _('Recipient'), 'help_text': _(
|
'recipients': {'label': _('Recipient'), 'help_text': _(
|
||||||
"Currently only mail sending is supported"
|
"Currently only mail sending is supported"
|
||||||
)},
|
)},
|
||||||
|
Loading…
Reference in New Issue
Block a user