TSK-847: Add Authentication to Import-Export-Module
This commit is contained in:
parent
8068d97577
commit
c7e2e881e1
|
|
@ -65,6 +65,9 @@ export class ImportExportComponent implements OnInit {
|
||||||
} else {
|
} else {
|
||||||
ajax.open('POST', environment.taskanaRestUrl + '/v1/classification-definitions');
|
ajax.open('POST', environment.taskanaRestUrl + '/v1/classification-definitions');
|
||||||
}
|
}
|
||||||
|
if (!environment.production) {
|
||||||
|
ajax.setRequestHeader('Authorization', 'Basic YWRtaW46YWRtaW4=');
|
||||||
|
}
|
||||||
ajax.send(formdata);
|
ajax.send(formdata);
|
||||||
this.uploadservice.isInUse = true;
|
this.uploadservice.isInUse = true;
|
||||||
this.uploadservice.setCurrentProgressValue(1)
|
this.uploadservice.setCurrentProgressValue(1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue