mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
perf: 修改 playbook 任务执行
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user