From 3a60bef2b6cd8288c6be50915687ef7c0df89878 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sat, 23 Jul 2016 08:39:23 -0400 Subject: Include credentials for session cookie in xhr --- view/tpl/cloud_actionspanel.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 688b8f33d..86fda883c 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -167,6 +167,7 @@ function DragDropUploadFile(file) { // var xhr = new XMLHttpRequest(); + xhr.withCredentials = true; (xhr.upload || xhr).addEventListener('progress', function(e) { var done = e.position || e.loaded var total = e.totalSize || e.total; -- cgit v1.2.3