~sirodoht/mataroa

a18d811d658f1f678c233d634e2477da0b21b258 — Theodore Keloglou 25 days ago 6993932 master
fix csrf in js stringification
1 files changed, 1 insertions(+), 1 deletions(-)

M main/templates/partials/drag-and-drop-upload.js
M main/templates/partials/drag-and-drop-upload.js => main/templates/partials/drag-and-drop-upload.js +1 -1
@@ 76,7 76,7 @@ bodyElem.addEventListener('drop', function (e) {
        };

        xhr.open('POST', '/images/?raw=true');
        xhr.setRequestHeader('X-CSRFToken', {{csrf_token}});
        xhr.setRequestHeader('X-CSRFToken', '{{ csrf_token }}');
        xhr.send(formData);
    }
});