From: Chocobozzz Date: Sat, 1 Oct 2016 10:19:48 +0000 (+0200) Subject: Client: add some explanations if we cannot retrieve client oauth X-Git-Tag: v0.0.1-alpha~709 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d86099204c0784d1461936e89589a693f6b768a7;p=oweals%2Fpeertube.git Client: add some explanations if we cannot retrieve client oauth credentials --- 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 { console.log('Client credentials loaded.'); }, error => { - alert(error); + alert( + `Cannot retrieve OAuth Client credentials: ${error.text}. \n` + + 'Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.' + ); } );