From ba004bb84eae471a8b0e2f36a869103422bfde15 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 15 Dec 2016 04:23:54 +0100 Subject: [PATCH] CORS is just plain lame --- wcfsetup/install/files/js/WCF.js | 3 +++ 1 file changed, 3 insertions(+) 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 } }); } -- 2.20.1