diff options
author | 杨宇千 <crupest@outlook.com> | 2019-03-14 16:51:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 16:51:46 +0800 |
commit | 19a12661e981718aebc418624c602b852e68d54d (patch) | |
tree | bc467184f38d9ea2962f860af889e002320e22e8 /Timeline/ClientApp/src/app/app.module.ts | |
parent | 988e07fce184b72c35020e4bde4079bdd305fb7c (diff) | |
parent | 780afcc14029d966f74fc8688aa040183ac23476 (diff) | |
download | timeline-19a12661e981718aebc418624c602b852e68d54d.tar.gz timeline-19a12661e981718aebc418624c602b852e68d54d.tar.bz2 timeline-19a12661e981718aebc418624c602b852e68d54d.zip |
Merge pull request #13 from crupest/auth-guard
Add auth guard.
Diffstat (limited to 'Timeline/ClientApp/src/app/app.module.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/app.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/app.module.ts b/Timeline/ClientApp/src/app/app.module.ts index 85c4c43d..b75e10e2 100644 --- a/Timeline/ClientApp/src/app/app.module.ts +++ b/Timeline/ClientApp/src/app/app.module.ts @@ -9,6 +9,7 @@ import { AppComponent } from './app.component'; import { TodoModule } from './todo/todo.module'; import { HomeModule } from './home/home.module'; import { UserModule } from './user/user.module'; +import { UserService } from './user/user.service'; @NgModule({ @@ -22,6 +23,7 @@ import { UserModule } from './user/user.module'; { path: '', redirectTo: '/home', pathMatch: 'full' }, ]) ], + providers: [UserService], bootstrap: [AppComponent] }) export class AppModule { } |