mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-22 13:07:26 +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]
|
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
Block a user