Don't display password in logs
This commit is contained in:
parent
aa2e7f1501
commit
0cee28c1b2
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function getRefreshToken (refreshToken: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getUser (username: string, password: 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 => {
|
return db.User.getByUsername(username).then(user => {
|
||||||
if (!user) return null
|
if (!user) return null
|
||||||
|
|
Loading…
Reference in a new issue