aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login/login-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/login/login-routing.module.ts')
-rw-r--r--client/src/app/login/login-routing.module.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts
index 1a91677c0..4d8913041 100644
--- a/client/src/app/login/login-routing.module.ts
+++ b/client/src/app/login/login-routing.module.ts
@@ -1,12 +1,15 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3 3
4import { MetaGuard } from '@ngx-meta/core'
5
4import { LoginComponent } from './login.component' 6import { LoginComponent } from './login.component'
5 7
6const loginRoutes: Routes = [ 8const loginRoutes: Routes = [
7 { 9 {
8 path: 'login', 10 path: 'login',
9 component: LoginComponent, 11 component: LoginComponent,
12 canActivate: [ MetaGuard ],
10 data: { 13 data: {
11 meta: { 14 meta: {
12 title: 'Login' 15 title: 'Login'