From: Alexander Ebert Date: Thu, 15 Dec 2016 03:23:54 +0000 (+0100) Subject: CORS is just plain lame X-Git-Tag: 3.0.0_RC_1~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba004bb84eae471a8b0e2f36a869103422bfde15;p=GitHub%2FWoltLab%2FWCF.git CORS is just plain lame --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 74cddd02af..e4165e112d 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -5910,6 +5910,9 @@ WCF.Upload = Class.extend({ }, false); } return $xhr; + }, + xhrFields: { + withCredentials: true } }); }