Client: add some explanations if we cannot retrieve client oauth

credentials
pull/10/merge
Chocobozzz 2016-10-01 12:19:48 +02:00
parent 13e2ab2566
commit d86099204c
1 changed files with 4 additions and 1 deletions

View File

@ -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.'
);
}
);