projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e2ab2
)
Client: add some explanations if we cannot retrieve client oauth
author
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 10:19:48 +0000
(12:19 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 10:19:48 +0000
(12:19 +0200)
credentials
client/src/app/shared/auth/auth.service.ts
patch
|
blob
|
history
diff --git
a/client/src/app/shared/auth/auth.service.ts
b/client/src/app/shared/auth/auth.service.ts
index e12da0b340ed9fb5331eb849184e1c7387772944..c57486d9ae3e048d9f72eaeaf91e760c9b97ceb6 100644
(file)
--- 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.'
+ );
}
);