mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #4156 from overleaf/ae-login-log
Improve login error logging GitOrigin-RevId: 0af1214890b014294077e585ec20f83fbb425c76
This commit is contained in:
parent
764234e42b
commit
29b92615ce
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ const AuthenticationController = {
|
|||
expectedPassword.length === pass.length &&
|
||||
crypto.timingSafeEqual(Buffer.from(expectedPassword), Buffer.from(pass))
|
||||
if (!isValid) {
|
||||
logger.err({ user, pass }, 'invalid login details')
|
||||
logger.err({ user }, 'invalid login details')
|
||||
}
|
||||
return isValid
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue