diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:26:33 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:26:33 +0200 |
commit | 0cee28c1b251b00067681286d136ca947cf34808 (patch) | |
tree | ff12ee1d62f909748cdd58bf24a212b1401626e8 /server/lib/oauth-model.ts | |
parent | aa2e7f1501ce108e0c250538aba7046fddefc935 (diff) | |
download | PeerTube-0cee28c1b251b00067681286d136ca947cf34808.tar.gz PeerTube-0cee28c1b251b00067681286d136ca947cf34808.tar.zst PeerTube-0cee28c1b251b00067681286d136ca947cf34808.zip |
Don't display password in logs
Diffstat (limited to 'server/lib/oauth-model.ts')
-rw-r--r-- | server/lib/oauth-model.ts | 2 |
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 | ||
27 | function getUser (username: string, password: string) { | 27 | function 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 |