aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorJohn Livingston <git@john-livingston.fr>2023-02-17 14:42:38 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-02-17 15:10:47 +0100
commit5471449f998eec270b184e6080e6f9853e5d722a (patch)
tree3c275f24112215bf7519ccc5353b70a3ed460655 /server/lib
parent255ce8c984b815081c9c769a1f3e9dd6a23988b2 (diff)
downloadPeerTube-5471449f998eec270b184e6080e6f9853e5d722a.tar.gz
PeerTube-5471449f998eec270b184e6080e6f9853e5d722a.tar.zst
PeerTube-5471449f998eec270b184e6080e6f9853e5d722a.zip
Fix #5614: do not log bearerToken.
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/auth/oauth-model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/auth/oauth-model.ts b/server/lib/auth/oauth-model.ts
index 43909284f..d3a5eccd5 100644
--- a/server/lib/auth/oauth-model.ts
+++ b/server/lib/auth/oauth-model.ts
@@ -34,7 +34,7 @@ export type BypassLogin = {
34} 34}
35 35
36async function getAccessToken (bearerToken: string) { 36async function getAccessToken (bearerToken: string) {
37 logger.debug('Getting access token (bearerToken: ' + bearerToken + ').') 37 logger.debug('Getting access token.')
38 38
39 if (!bearerToken) return undefined 39 if (!bearerToken) return undefined
40 40