1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Merge pull request #1393 from AlanCoding/no_cred_pass

Fix API browser server error on relaunch
This commit is contained in:
Alan Rominger 2018-04-17 15:28:35 -04:00 committed by GitHub
commit 283132cd08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4143,7 +4143,7 @@ class JobRelaunch(RetrieveAPIView):
for p in needed_passwords: for p in needed_passwords:
data['credential_passwords'][p] = u'' data['credential_passwords'][p] = u''
else: else:
data.pop('credential_passwords') data.pop('credential_passwords', None)
return data return data
@csrf_exempt @csrf_exempt