mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Hard coded path for the web activiti API
This commit is contained in:
@@ -75,7 +75,7 @@ export class AlfrescoAuthenticationBPM extends AlfrescoAuthenticationBase implem
|
||||
}
|
||||
|
||||
private apiActivitiLogin(username: string, password: string) {
|
||||
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/authentication';
|
||||
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/app/authentication';
|
||||
let headers = new Headers({
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
});
|
||||
@@ -91,7 +91,7 @@ export class AlfrescoAuthenticationBPM extends AlfrescoAuthenticationBase implem
|
||||
}
|
||||
|
||||
private apiActivitiLogout() {
|
||||
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/logout';
|
||||
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/app/logout';
|
||||
return this.http.get(url).toPromise();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user