diff --git a/front/src/app/app-routing.module.ts b/front/src/app/app-routing.module.ts index 80a7cc3..089dd1c 100644 --- a/front/src/app/app-routing.module.ts +++ b/front/src/app/app-routing.module.ts @@ -21,7 +21,7 @@ import { ForbiddenScene, OnlyUsersGuardHome, HomeOutScene, OnlyUnregisteredGuard const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, - //{ path: 'forbidden', component: ForbiddenScene }, + { path: 'forbidden', component: ForbiddenScene }, // ------------------------------------ // -- home global interface @@ -29,7 +29,7 @@ const routes: Routes = [ { path: 'home', component: HomeScene, - //canActivate: [OnlyUsersGuardHome], // this route to unregistered path when not logged ==> permit to simplify display + canActivate: [OnlyUsersGuardHome], // this route to unregistered path when not logged ==> permit to simplify display }, /* { diff --git a/front/src/app/app.component.html b/front/src/app/app.component.html index b494a73..023d639 100644 --- a/front/src/app/app.component.html +++ b/front/src/app/app.component.html @@ -1,6 +1,7 @@ +