diff --git a/lib/core/settings/host-settings.component.ts b/lib/core/settings/host-settings.component.ts index 4bd307a8cc..75cd97f00f 100644 --- a/lib/core/settings/host-settings.component.ts +++ b/lib/core/settings/host-settings.component.ts @@ -180,11 +180,7 @@ export class HostSettingsComponent implements OnInit { this.storageService.setItem(AppConfigValues.AUTHTYPE, values.authType); this.alfrescoApiService.reset(); - this.authenticationService.logout().subscribe(() => { - this.success.emit(true); - }, () => { - this.success.emit(true); - }); + this.alfrescoApiService.getInstance().invalidateSession(); } private saveOAuthValues(values: any) {