From: Chocobozzz Date: Thu, 7 Sep 2017 19:26:33 +0000 (+0200) Subject: Don't display password in logs X-Git-Tag: v0.0.1-alpha~333 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0cee28c1b251b00067681286d136ca947cf34808;p=oweals%2Fpeertube.git Don't display password in logs --- 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) { } function getUser (username: string, password: string) { - logger.debug('Getting User (username: ' + username + ', password: ' + password + ').') + logger.debug('Getting User (username: ' + username + ', password: ******).') return db.User.getByUsername(username).then(user => { if (!user) return null