mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
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…
Reference in New Issue
Block a user