From f954b5da2a9a5960d7c9563522f1ac0b2c10f96c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 May 2018 09:42:05 +0200 Subject: Fix change detection in app component --- client/src/app/core/auth/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/core/auth') diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 4213da20c..c3879d570 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -122,7 +122,7 @@ export class AuthService { scope: 'upload', username, password - } + } const headers = new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded') return this.http.post(AuthService.BASE_TOKEN_URL, objectToUrlEncoded(body), { headers }) -- cgit v1.2.3