mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Merge pull request #1393 from AlanCoding/no_cred_pass
Fix API browser server error on relaunch
This commit is contained in:
commit
283132cd08
@ -4143,7 +4143,7 @@ class JobRelaunch(RetrieveAPIView):
|
||||
for p in needed_passwords:
|
||||
data['credential_passwords'][p] = u''
|
||||
else:
|
||||
data.pop('credential_passwords')
|
||||
data.pop('credential_passwords', None)
|
||||
return data
|
||||
|
||||
@csrf_exempt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user