diff --git a/explore/src/app/app-routing.module.ts b/explore/src/app/app-routing.module.ts index 06dcdef1..8cb80afe 100644 --- a/explore/src/app/app-routing.module.ts +++ b/explore/src/app/app-routing.module.ts @@ -102,7 +102,7 @@ const routes: Routes = [ // { path: 'claims-project-manager', loadChildren: './claims/claimsByToken/claimsByToken.module#LibClaimsByTokenModule'}, // help pages - do not exist in Admin portal/api/db {path: 'deposit', loadChildren: () => import('./openaireLibrary/deposit/deposit-grant-redirect/deposit.module').then(m => m.DepositModule)}, - {path: 'my-uploads', loadComponent: () => import('./openaireLibrary/deposit/my-uploads/my-uploads.component').then(m => m.MyUploadsComponent), canActivate:[/*LoginGuard*/]}, + {path: 'my-uploads', loadComponent: () => import('./openaireLibrary/deposit/my-uploads/my-uploads.component').then(m => m.MyUploadsComponent), canActivate:[LoginGuard]}, {path: 'reload', loadChildren: () => import('./openaireLibrary/reload/reload.module').then(m => m.ReloadModule)}, {path: 'user-info', loadChildren: () => import('./openaireLibrary/login/user.module').then(m => m.UserModule)}, {path: 'error', component: ErrorPageComponent},