mirror of https://github.com/jumpserver/jumpserver
fix: Fix the problem of changing the password and retrying to obtain the password
parent
48fa6172bd
commit
a7c46109d9
|
@ -134,6 +134,7 @@ class ChangeSecretManager(AccountBasePlaybookManager):
|
||||||
record_id = self.record_map[asset_account_id]
|
record_id = self.record_map[asset_account_id]
|
||||||
try:
|
try:
|
||||||
recorder = ChangeSecretRecord.objects.get(id=record_id)
|
recorder = ChangeSecretRecord.objects.get(id=record_id)
|
||||||
|
new_secret = recorder.new_secret
|
||||||
except ChangeSecretRecord.DoesNotExist:
|
except ChangeSecretRecord.DoesNotExist:
|
||||||
print(f"Record {record_id} not found")
|
print(f"Record {record_id} not found")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue