Client: add some explanations if we cannot retrieve client oauth
credentials
This commit is contained in:
parent
13e2ab2566
commit
d86099204c
1 changed files with 4 additions and 1 deletions
|
@ -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.'
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue