mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-21 12:37:42 +00:00
fix: Fix the problem of changing the password and retrying to obtain the password
This commit is contained in:
parent
48fa6172bd
commit
a7c46109d9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user