diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 8f764e0ad..a9a3ae65a 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -35,7 +35,7 @@ import { AppSharedRuleGuard, GenericErrorComponent } from '@alfresco/aca-shared'; -import { AuthGuardEcm, AuthGuard } from '@alfresco/adf-core'; +import { AuthGuardEcm } from '@alfresco/adf-core'; import { FavoritesComponent } from './components/favorites/favorites.component'; import { RecentFilesComponent } from './components/recent-files/recent-files.component'; import { SharedFilesComponent } from './components/shared-files/shared-files.component'; @@ -76,7 +76,7 @@ export const APP_ROUTES: Routes = [ { path: '', component: AppLayoutComponent, - canActivate: [AuthGuard], + canActivate: [AuthGuardEcm], children: [ { path: '',