mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-29 20:14:02 -06:00
Don't display password in logs
This commit is contained in:
parent
aa2e7f1501
commit
0cee28c1b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user