aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-23 08:39:23 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-23 08:39:23 -0400
commit3a60bef2b6cd8288c6be50915687ef7c0df89878 (patch)
tree0d5e8ff00e29e75bcefc0d44e8770651303dbaed
parenteb1eb38c0174b542e388b32039589c0030ebd073 (diff)
downloadvolse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.tar.gz
volse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.tar.bz2
volse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.zip
Include credentials for session cookie in xhr
-rw-r--r--view/tpl/cloud_actionspanel.tpl1
1 files changed, 1 insertions, 0 deletions
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;