perf: 修改 playbook 任务执行

This commit is contained in:
ibuler
2022-10-12 18:08:57 +08:00
parent 21816e3a39
commit 85a6f29a0a
48 changed files with 585 additions and 308 deletions

View File

@@ -19,6 +19,10 @@ class ChangePasswordAutomation(BaseAutomation):
verbose_name=_("Recipient")
)
def save(self, *args, **kwargs):
self.type = 'change_password'
super().save(*args, **kwargs)
class Meta:
verbose_name = _("Change auth strategy")