From 763875fbdf9a45e62ab741304dc79761dc060729 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 7 Apr 2024 09:02:17 +0200 Subject: [PATCH] {DEV] still work --- front/src/app/app-routing.module.ts | 4 ++-- front/src/app/app.component.html | 1 + front/src/app/app.module.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 @@ +