diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts b/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts index 37ec66ca23..2edf60dd6c 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts +++ b/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts @@ -79,6 +79,8 @@ export class UploadWidget extends WidgetComponent implements OnInit { let xhr: XMLHttpRequest = new XMLHttpRequest(); + xhr.withCredentials = true; + xhr.onreadystatechange = () => { if (xhr.readyState === 4) { if (xhr.status === 200) {