feat: Implement Login and Logout functionality, protect authenticated routes #12

Merged
ptran merged 8 commits from feature/oauth into main 2025-02-12 10:00:54 +00:00
Showing only changes of commit 4b9574ac96 - Show all commits

View File

@ -8,14 +8,9 @@ export const routes: Routes = [
path: '', path: '',
component: LandingPageComponent, component: LandingPageComponent,
}, },
{
path: '**',
canActivate: [authGuard],
children: [
{ {
path: 'home', path: 'home',
component: HomepageComponent, component: HomepageComponent,
}, canActivate: [authGuard],
], }
},
]; ];