aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/auth
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-23 14:41:14 +0200
committerChocobozzz <me@florianbigard.com>2022-09-23 14:41:14 +0200
commit255c00305c899d8db829b07b49d06cd2fea7ca02 (patch)
tree5f389583d081a5563d859b8793a9e878573c087d /client/src/app/core/auth
parentb2a70e3ca2611a8831b6e490cc25dbf3066562c0 (diff)
downloadPeerTube-255c00305c899d8db829b07b49d06cd2fea7ca02.tar.gz
PeerTube-255c00305c899d8db829b07b49d06cd2fea7ca02.tar.zst
PeerTube-255c00305c899d8db829b07b49d06cd2fea7ca02.zip
Fix error messages
Diffstat (limited to 'client/src/app/core/auth')
-rw-r--r--client/src/app/core/auth/auth.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts
index ece6bc5d1..ca46866f5 100644
--- a/client/src/app/core/auth/auth.service.ts
+++ b/client/src/app/core/auth/auth.service.ts
@@ -97,7 +97,7 @@ export class AuthService {
97 let errorMessage = err.message 97 let errorMessage = err.message
98 98
99 if (err.status === HttpStatusCode.FORBIDDEN_403) { 99 if (err.status === HttpStatusCode.FORBIDDEN_403) {
100 errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.text}. 100 errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.message}.
101Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.` 101Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.`
102 } 102 }
103 103