aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared.module.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-04 11:45:47 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-04 11:45:47 +0100
commite2a2d6c86c7ca39074fdff3b545947d1d58dc008 (patch)
treea3420493460f67472acceae2a5746612a30943f0 /client/src/app/shared/shared.module.ts
parenta7449e74f9105839fa03f0b2e23b435f37a1fc2f (diff)
downloadPeerTube-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.ts4
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';
16import { AUTH_HTTP_PROVIDERS } from './auth'; 16import { AUTH_HTTP_PROVIDERS } from './auth';
17import { RestExtractor, RestService } from './rest'; 17import { RestExtractor, RestService } from './rest';
18import { SearchComponent, SearchService } from './search'; 18import { SearchComponent, SearchService } from './search';
19import { UserService } from './users';
19import { VideoAbuseService } from './video-abuse'; 20import { 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})
71export class SharedModule { } 73export class SharedModule { }