aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users/auth.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/users/auth.service.ts')
-rw-r--r--client/src/app/shared/users/auth.service.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/users/auth.service.ts b/client/src/app/shared/users/auth.service.ts
index 720037563..1c822c1e1 100644
--- a/client/src/app/shared/users/auth.service.ts
+++ b/client/src/app/shared/users/auth.service.ts
@@ -43,7 +43,11 @@ export class AuthService {
43 } 43 }
44 44
45 getRequestHeader() { 45 getRequestHeader() {
46 return new Headers({ 'Authorization': `${this.getTokenType()} ${this.getToken()}` }); 46 return new Headers({ 'Authorization': this.getRequestHeaderValue() });
47 }
48
49 getRequestHeaderValue() {
50 return `${this.getTokenType()} ${this.getToken()}`;
47 } 51 }
48 52
49 getToken() { 53 getToken() {