Revert "fix: [internal] withCredentials property was added into $.ajaxSetup() to get rid of 403 and 302 responses"

This reverts commit b496161f5b.
pull/7840/head
iglocska 2021-10-12 15:10:45 +02:00
parent f44b125ab2
commit 4822aad82c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 0 additions and 10 deletions

View File

@ -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',
},
});