aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-01 12:19:48 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-01 12:19:48 +0200
commitd86099204c0784d1461936e89589a693f6b768a7 (patch)
tree995c2c765a11859128d492eb10d5fa135bd38bdf /client/src
parent13e2ab2566d1d2c366e1938b43e1a12aa11498c9 (diff)
downloadPeerTube-d86099204c0784d1461936e89589a693f6b768a7.tar.gz
PeerTube-d86099204c0784d1461936e89589a693f6b768a7.tar.zst
PeerTube-d86099204c0784d1461936e89589a693f6b768a7.zip
Client: add some explanations if we cannot retrieve client oauth
credentials
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/auth/auth.service.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index e12da0b34..c57486d9a 100644
--- a/client/src/app/shared/auth/auth.service.ts
+++ b/client/src/app/shared/auth/auth.service.ts
@@ -41,7 +41,10 @@ export class AuthService {
41 console.log('Client credentials loaded.'); 41 console.log('Client credentials loaded.');
42 }, 42 },
43 error => { 43 error => {
44 alert(error); 44 alert(
45 `Cannot retrieve OAuth Client credentials: ${error.text}. \n` +
46 'Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.'
47 );
45 } 48 }
46 ); 49 );
47 50