Fix for CSRF in FileManager and UploadHandler

This commit is contained in:
myvesta 2021-09-04 15:31:34 +02:00
parent 63861e4ffd
commit 93de22a0b3
6 changed files with 29 additions and 9 deletions

View file

@ -797,6 +797,8 @@ App.Ajax.request = function(method, data, callback, onError){
}*/
//App.Helpers.setAjaxBusy(method, data);
data = data || {};
var token = $('#token').attr('token');
data.token = token;
var prgs = $('.progress-container');