mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
added csrf token header to ajax calls
This commit is contained in:
parent
57d8ad33da
commit
b12997c7e3
1 changed files with 1 additions and 0 deletions
|
@ -1274,6 +1274,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
'X-CSRFToken': csrfToken,
|
||||
},
|
||||
body: formData
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue