@indigina/kendo 2.0.22 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2077,10 +2077,10 @@ class AzureLoginCallbackComponent {
|
|
|
2077
2077
|
this.router.navigate(['home']);
|
|
2078
2078
|
}
|
|
2079
2079
|
});
|
|
2080
|
-
this.msalBroadcastService.msalSubject$.pipe(filter(({ eventType }) => eventType === EventType.ACQUIRE_TOKEN_FAILURE)).subscribe(() => this.authService.logoutRedirect());
|
|
2080
|
+
this.msalBroadcastService.msalSubject$.pipe(filter(({ eventType }) => eventType === EventType.ACQUIRE_TOKEN_FAILURE || eventType === EventType.LOGIN_FAILURE)).subscribe(() => this.authService.logoutRedirect());
|
|
2081
2081
|
}
|
|
2082
2082
|
logout() {
|
|
2083
|
-
this.authService.
|
|
2083
|
+
this.authService.logout();
|
|
2084
2084
|
}
|
|
2085
2085
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AzureLoginCallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2086
2086
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AzureLoginCallbackComponent, isStandalone: true, selector: "lib-azure-login", ngImport: i0, template: '', isInline: true }); }
|