1
0
Fork 0

Don't display password in logs

This commit is contained in:
Chocobozzz 2017-09-07 21:26:33 +02:00
parent aa2e7f1501
commit 0cee28c1b2
1 changed files with 1 additions and 1 deletions

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