diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-01 20:36:27 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-01 20:36:27 +0200 |
commit | a840d396093ef968f9512862197ac166a1ff9921 (patch) | |
tree | f7e4c93ee3ae8a44bd14fd1f7c74234eef7469ef /client/app/app.component.ts | |
parent | 575fdcece562b914149f89f5a5b96ab206648f09 (diff) | |
download | PeerTube-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.ts | 11 |
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'; | |||
3 | import { RouteConfig, Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router-deprecated'; | 3 | import { RouteConfig, Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router-deprecated'; |
4 | 4 | ||
5 | import { FriendService } from './friends/index'; | 5 | import { FriendService } from './friends/index'; |
6 | import { Search, SearchComponent } from './shared/index'; | 6 | import { LoginComponent } from './login/index'; |
7 | import { | 7 | import { |
8 | UserLoginComponent, | ||
9 | AuthService, | 8 | AuthService, |
10 | AuthStatus | 9 | AuthStatus, |
11 | } from './users/index'; | 10 | Search, |
11 | SearchComponent | ||
12 | } from './shared/index'; | ||
12 | import { | 13 | import { |
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', |