mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
[ACS-9768] remove deprecated methods from auth related components (#4688)
* [ACS-9768] remove deprecated methods from auth related components [link-adf:ACS-9768-Remove-deprecated-methods-from-auth-related-components] * [ACS-9786] replace deprecated methods
This commit is contained in:
committed by
GitHub
parent
9634b60aaa
commit
887455a0ef
@@ -29,9 +29,5 @@ import { AuthenticationService } from '@alfresco/adf-core';
|
||||
export const ViewProfileRuleGuard: CanActivateFn = () => {
|
||||
const authService = inject(AuthenticationService);
|
||||
|
||||
const isEcmLoggedIn = (): boolean => {
|
||||
return authService.isEcmLoggedIn() || (authService.isECMProvider() && authService.isKerberosEnabled());
|
||||
};
|
||||
|
||||
return isEcmLoggedIn() || authService.isOauth();
|
||||
return authService.isLoggedIn() || authService.isOauth();
|
||||
};
|
||||
|
Reference in New Issue
Block a user