mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
Make job relaunch dispatch csrf exempt
This commit is contained in:
@@ -1644,6 +1644,7 @@ class JobRelaunch(GenericAPIView):
|
|||||||
|
|
||||||
model = Job
|
model = Job
|
||||||
|
|
||||||
|
@csrf_exempt
|
||||||
@transaction.non_atomic_requests
|
@transaction.non_atomic_requests
|
||||||
def dispatch(self, *args, **kwargs):
|
def dispatch(self, *args, **kwargs):
|
||||||
return super(JobRelaunch, self).dispatch(*args, **kwargs)
|
return super(JobRelaunch, self).dispatch(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user