]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/core.module.ts
Upgrade client dep
[github/Chocobozzz/PeerTube.git] / client / src / app / core / core.module.ts
index fd1586f8e48e6153ccef44cfc2dcee68b8fb37c8..c4ce2b637df7a4fb75cad592ac48cfefbc80d8e7 100644 (file)
@@ -8,6 +8,7 @@ import { SimpleNotificationsModule } from 'angular2-notifications'
 import { ModalModule } from 'ngx-bootstrap/modal'
 
 import { AuthService } from './auth'
+import { LoginGuard, UserRightGuard } from './routing'
 import { ServerService } from './server'
 import { ConfirmComponent, ConfirmService } from './confirm'
 import { MenuComponent, MenuAdminComponent } from './menu'
@@ -41,11 +42,13 @@ import { throwIfAlreadyLoaded } from './module-import-guard'
   providers: [
     AuthService,
     ConfirmService,
-    ServerService
+    ServerService,
+    LoginGuard,
+    UserRightGuard
   ]
 })
 export class CoreModule {
-  constructor ( @Optional() @SkipSelf() parentModule: CoreModule) {
+  constructor (@Optional() @SkipSelf() parentModule: CoreModule) {
     throwIfAlreadyLoaded(parentModule, 'CoreModule')
   }
 }