mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7991] send onLogin to initialize acs version to fix [C362242]
This commit is contained in:
@@ -46,6 +46,11 @@ export class OIDCAuthenticationService extends BaseAuthenticationService {
|
|||||||
private readonly auth: AuthService
|
private readonly auth: AuthService
|
||||||
) {
|
) {
|
||||||
super(alfrescoApi, appConfig, cookie, logService);
|
super(alfrescoApi, appConfig, cookie, logService);
|
||||||
|
this.alfrescoApi.alfrescoApiInitialized.subscribe(() => {
|
||||||
|
this.alfrescoApi.getInstance().reply('logged-in', () => {
|
||||||
|
this.onLogin.next();
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
isEcmLoggedIn(): boolean {
|
isEcmLoggedIn(): boolean {
|
||||||
|
Reference in New Issue
Block a user