[AAE-7991] send onLogin to initialize acs version to fix [C362242]

This commit is contained in:
Amedeo Lepore
2022-10-20 09:38:29 +02:00
parent 83399e01a0
commit e935f7b0b1

View File

@@ -46,6 +46,11 @@ export class OIDCAuthenticationService extends BaseAuthenticationService {
private readonly auth: AuthService
) {
super(alfrescoApi, appConfig, cookie, logService);
this.alfrescoApi.alfrescoApiInitialized.subscribe(() => {
this.alfrescoApi.getInstance().reply('logged-in', () => {
this.onLogin.next();
});
});
}
isEcmLoggedIn(): boolean {