aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 21:26:33 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 21:26:33 +0200
commit0cee28c1b251b00067681286d136ca947cf34808 (patch)
treeff12ee1d62f909748cdd58bf24a212b1401626e8 /server/lib
parentaa2e7f1501ce108e0c250538aba7046fddefc935 (diff)
downloadPeerTube-0cee28c1b251b00067681286d136ca947cf34808.tar.gz
PeerTube-0cee28c1b251b00067681286d136ca947cf34808.tar.zst
PeerTube-0cee28c1b251b00067681286d136ca947cf34808.zip
Don't display password in logs
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/oauth-model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/oauth-model.ts b/server/lib/oauth-model.ts
index 769ea126a..9aa3ea52f 100644
--- a/server/lib/oauth-model.ts
+++ b/server/lib/oauth-model.ts
@@ -25,7 +25,7 @@ function getRefreshToken (refreshToken: string) {
25} 25}
26 26
27function getUser (username: string, password: string) { 27function getUser (username: string, password: string) {
28 logger.debug('Getting User (username: ' + username + ', password: ' + password + ').') 28 logger.debug('Getting User (username: ' + username + ', password: ******).')
29 29
30 return db.User.getByUsername(username).then(user => { 30 return db.User.getByUsername(username).then(user => {
31 if (!user) return null 31 if (!user) return null