perf: change secret is_active (#9667)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-21 17:54:59 +08:00
committed by GitHub
parent b5d814e9be
commit 266e7e0dd7

View File

@@ -53,6 +53,7 @@ class ChangeSecretAutomationSerializer(AuthValidateMixin, BaseAutomationSerializ
'ssh_key_change_strategy', 'passphrase', 'recipients',
]
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
'accounts': {'required': True},
'recipients': {'label': _('Recipient'), 'help_text': _(
"Currently only mail sending is supported"
)},