mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
invalidate session in host setting internal component instead to logout
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user