diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-04 11:45:47 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-04 11:45:47 +0100 |
commit | e2a2d6c86c7ca39074fdff3b545947d1d58dc008 (patch) | |
tree | a3420493460f67472acceae2a5746612a30943f0 /client/src/app/shared/shared.module.ts | |
parent | a7449e74f9105839fa03f0b2e23b435f37a1fc2f (diff) | |
download | PeerTube-e2a2d6c86c7ca39074fdff3b545947d1d58dc008.tar.gz PeerTube-e2a2d6c86c7ca39074fdff3b545947d1d58dc008.tar.zst PeerTube-e2a2d6c86c7ca39074fdff3b545947d1d58dc008.zip |
Client: check token valitidy at startup
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 0f57ef078..84cc86c64 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -16,6 +16,7 @@ import { Ng2SmartTableModule } from 'ng2-smart-table'; | |||
16 | import { AUTH_HTTP_PROVIDERS } from './auth'; | 16 | import { AUTH_HTTP_PROVIDERS } from './auth'; |
17 | import { RestExtractor, RestService } from './rest'; | 17 | import { RestExtractor, RestService } from './rest'; |
18 | import { SearchComponent, SearchService } from './search'; | 18 | import { SearchComponent, SearchService } from './search'; |
19 | import { UserService } from './users'; | ||
19 | import { VideoAbuseService } from './video-abuse'; | 20 | import { VideoAbuseService } from './video-abuse'; |
20 | 21 | ||
21 | @NgModule({ | 22 | @NgModule({ |
@@ -65,7 +66,8 @@ import { VideoAbuseService } from './video-abuse'; | |||
65 | RestExtractor, | 66 | RestExtractor, |
66 | RestService, | 67 | RestService, |
67 | SearchService, | 68 | SearchService, |
68 | VideoAbuseService | 69 | VideoAbuseService, |
70 | UserService | ||
69 | ] | 71 | ] |
70 | }) | 72 | }) |
71 | export class SharedModule { } | 73 | export class SharedModule { } |