diff options
author | John Livingston <git@john-livingston.fr> | 2023-02-17 14:42:38 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-02-17 15:10:47 +0100 |
commit | 5471449f998eec270b184e6080e6f9853e5d722a (patch) | |
tree | 3c275f24112215bf7519ccc5353b70a3ed460655 | |
parent | 255ce8c984b815081c9c769a1f3e9dd6a23988b2 (diff) | |
download | PeerTube-5471449f998eec270b184e6080e6f9853e5d722a.tar.gz PeerTube-5471449f998eec270b184e6080e6f9853e5d722a.tar.zst PeerTube-5471449f998eec270b184e6080e6f9853e5d722a.zip |
Fix #5614: do not log bearerToken.
-rw-r--r-- | server/lib/auth/oauth-model.ts | 2 |
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 | ||
36 | async function getAccessToken (bearerToken: string) { | 36 | async 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 | ||