mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Make job relaunch dispatch csrf exempt
This commit is contained in:
parent
5fe3ee3bf4
commit
28e7fda956
@ -1644,6 +1644,7 @@ class JobRelaunch(GenericAPIView):
|
||||
|
||||
model = Job
|
||||
|
||||
@csrf_exempt
|
||||
@transaction.non_atomic_requests
|
||||
def dispatch(self, *args, **kwargs):
|
||||
return super(JobRelaunch, self).dispatch(*args, **kwargs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user