aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-22 09:42:05 +0200
committerChocobozzz <me@florianbigard.com>2018-05-22 09:42:05 +0200
commitf954b5da2a9a5960d7c9563522f1ac0b2c10f96c (patch)
tree288d07e44319b6bdee6c23d05956aa152ec68580 /client/src/app/core
parente7eb5b399725afe7bae2dac27235a6e9478a2f12 (diff)
downloadPeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.tar.gz
PeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.tar.zst
PeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.zip
Fix change detection in app component
Diffstat (limited to 'client/src/app/core')
-rw-r--r--client/src/app/core/auth/auth.service.ts2
1 files changed, 1 insertions, 1 deletions
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 {
122 scope: 'upload', 122 scope: 'upload',
123 username, 123 username,
124 password 124 password
125 } 125 }
126 126
127 const headers = new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded') 127 const headers = new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded')
128 return this.http.post<UserLogin>(AuthService.BASE_TOKEN_URL, objectToUrlEncoded(body), { headers }) 128 return this.http.post<UserLogin>(AuthService.BASE_TOKEN_URL, objectToUrlEncoded(body), { headers })