Added my-account page with logout functionality

This commit is contained in:
Erik Tiekstra
2021-08-18 15:49:38 +02:00
parent 3cfd7856bc
commit ffeb37290c
10 changed files with 77 additions and 14 deletions

View File

@@ -53,10 +53,15 @@ const routes: Routes = [
canActivate: [AuthGuard],
},
{
path: 'logout',
path: 'logga-ut',
data: { title: 'Logga ut' },
loadChildren: () => import('./pages/logout/logout.module').then(m => m.LogoutModule),
},
{
path: 'mitt-konto',
data: { title: 'Mitt konto' },
loadChildren: () => import('./pages/my-account/my-account.module').then(m => m.MyAccountModule),
},
];
if (!environment.production) {