From a7c46109d9363fae35df5ff7d3ecd7e0347b58a7 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Tue, 17 Jun 2025 18:12:23 +0800 Subject: [PATCH] fix: Fix the problem of changing the password and retrying to obtain the password --- apps/accounts/automations/change_secret/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/accounts/automations/change_secret/manager.py b/apps/accounts/automations/change_secret/manager.py index f08d01584..2ccd8a68f 100644 --- a/apps/accounts/automations/change_secret/manager.py +++ b/apps/accounts/automations/change_secret/manager.py @@ -134,6 +134,7 @@ class ChangeSecretManager(AccountBasePlaybookManager): record_id = self.record_map[asset_account_id] try: recorder = ChangeSecretRecord.objects.get(id=record_id) + new_secret = recorder.new_secret except ChangeSecretRecord.DoesNotExist: print(f"Record {record_id} not found") continue