From 29b92615ce96b18bc8d00b73c5207976492c93f8 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 10 Jun 2021 12:26:11 +0100 Subject: [PATCH] Merge pull request #4156 from overleaf/ae-login-log Improve login error logging GitOrigin-RevId: 0af1214890b014294077e585ec20f83fbb425c76 --- .../app/src/Features/Authentication/AuthenticationController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Authentication/AuthenticationController.js b/services/web/app/src/Features/Authentication/AuthenticationController.js index 5b76c77f15..b53420c5e6 100644 --- a/services/web/app/src/Features/Authentication/AuthenticationController.js +++ b/services/web/app/src/Features/Authentication/AuthenticationController.js @@ -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 })