diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-20 16:40:28 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-20 16:40:28 +0200 |
commit | 0f3a78e7eafa000864f5d9348565d33aedc707e1 (patch) | |
tree | 55d280fc86124efeaec840d7cf4640fbbda4ed4c /client/src/app/shared/auth/auth-http.service.ts | |
parent | bd5c83a8cb46eb6da2b25df3b1f6a2a5795d1869 (diff) | |
download | PeerTube-0f3a78e7eafa000864f5d9348565d33aedc707e1.tar.gz PeerTube-0f3a78e7eafa000864f5d9348565d33aedc707e1.tar.zst PeerTube-0f3a78e7eafa000864f5d9348565d33aedc707e1.zip |
Client: Auth services cleanup
Diffstat (limited to 'client/src/app/shared/auth/auth-http.service.ts')
-rw-r--r-- | client/src/app/shared/auth/auth-http.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/auth/auth-http.service.ts b/client/src/app/shared/auth/auth-http.service.ts index ff8099a46..9c7ef4389 100644 --- a/client/src/app/shared/auth/auth-http.service.ts +++ b/client/src/app/shared/auth/auth-http.service.ts | |||
@@ -72,6 +72,6 @@ export class AuthHttp extends Http { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | private setAuthorizationHeader(headers: Headers) { | 74 | private setAuthorizationHeader(headers: Headers) { |
75 | headers.set('Authorization', `${this.authService.getTokenType()} ${this.authService.getToken()}`); | 75 | headers.set('Authorization', this.authService.getRequestHeaderValue()); |
76 | } | 76 | } |
77 | } | 77 | } |