mirror of https://github.com/MISP/MISP
Revert "fix: [internal] withCredentials property was added into $.ajaxSetup() to get rid of 403 and 302 responses"
This reverts commit b496161f5b
.
pull/7840/head
parent
f44b125ab2
commit
4822aad82c
|
@ -5379,13 +5379,3 @@ $('td.rotate').hover(function() {
|
|||
var t = parseInt($(this).index()) + 1;
|
||||
$table.find('td:nth-child(' + t + ')').css('background-color', '');
|
||||
});
|
||||
|
||||
$.ajaxSetup({
|
||||
xhrFields: {
|
||||
withCredentials: true
|
||||
},
|
||||
headers: {
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue