aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-01 20:36:27 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-01 20:36:27 +0200
commita840d396093ef968f9512862197ac166a1ff9921 (patch)
treef7e4c93ee3ae8a44bd14fd1f7c74234eef7469ef /client/app/app.component.ts
parent575fdcece562b914149f89f5a5b96ab206648f09 (diff)
downloadPeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.gz
PeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.zst
PeerTube-a840d396093ef968f9512862197ac166a1ff9921.zip
Add authentication tokens to make friends/quit friends
Diffstat (limited to 'client/app/app.component.ts')
-rw-r--r--client/app/app.component.ts11
1 files changed, 6 insertions, 5 deletions
diff --git a/client/app/app.component.ts b/client/app/app.component.ts
index d29448296..94924a47a 100644
--- a/client/app/app.component.ts
+++ b/client/app/app.component.ts
@@ -3,12 +3,13 @@ import { HTTP_PROVIDERS } from '@angular/http';
3import { RouteConfig, Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router-deprecated'; 3import { RouteConfig, Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router-deprecated';
4 4
5import { FriendService } from './friends/index'; 5import { FriendService } from './friends/index';
6import { Search, SearchComponent } from './shared/index'; 6import { LoginComponent } from './login/index';
7import { 7import {
8 UserLoginComponent,
9 AuthService, 8 AuthService,
10 AuthStatus 9 AuthStatus,
11} from './users/index'; 10 Search,
11 SearchComponent
12} from './shared/index';
12import { 13import {
13 VideoAddComponent, 14 VideoAddComponent,
14 VideoListComponent, 15 VideoListComponent,
@@ -20,7 +21,7 @@ import {
20 { 21 {
21 path: '/users/login', 22 path: '/users/login',
22 name: 'UserLogin', 23 name: 'UserLogin',
23 component: UserLoginComponent 24 component: LoginComponent
24 }, 25 },
25 { 26 {
26 path: '/videos/list', 27 path: '/videos/list',