Added missing parameter for ajax credentials
authorAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 03:15:59 +0000 (04:15 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 03:15:59 +0000 (04:15 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Upload.js

index f629c11d1d89ecbf6ed6bacbbc8f8ea78b4eba64..54be5b93eaa40a52f173b8f95a8bc84ffc559168 100644 (file)
@@ -331,7 +331,8 @@ define(['AjaxRequest', 'Core', 'Dom/ChangeListener', 'Language', 'Dom/Util', 'Do
                                silent: true,
                                success: this._success.bind(this, uploadId),
                                uploadProgress: this._progress.bind(this, uploadId),
-                               url: this._options.url
+                               url: this._options.url,
+                               withCredentials: true
                        });
                        request.sendRequest();