Don't display password in logs

This commit is contained in:
Chocobozzz 2017-09-07 21:26:33 +02:00
parent aa2e7f1501
commit 0cee28c1b2

View File

@ -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