Skip to content
Snippets Groups Projects
Commit 87b2bad7 authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

fix guard

parent 71b57b52
No related branches found
No related tags found
1 merge request!35Feature/indigo auth
......@@ -20,7 +20,7 @@ export interface ICustomRoute extends Route {
const routes: ICustomRoute[] = [
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' },
{path: 'callback', component: CallbackComponent},
{ path: 'dashboard', component: DashboardComponent, canActivate: [ FdpGuard],
{ path: 'dashboard', component: DashboardComponent, canActivate: [ FdpGuard, AuthGuardService],
children: [
{ path: 'simplesearch', component: SearchComponent },
{ path: 'repository', component: RepositoryComponent },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment