From 457d61fa9a8f4ed91429957ebf2d57181d2ce06d Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Tue, 15 Apr 2025 14:12:46 +0100 Subject: [PATCH] [web] avoid logging when password is too similar to email (#24914) GitOrigin-RevId: 122e1790e4827aa26da712011e946ea025a08300 --- .../app/src/Features/Authentication/AuthenticationManager.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/web/app/src/Features/Authentication/AuthenticationManager.js b/services/web/app/src/Features/Authentication/AuthenticationManager.js index 33827f1673..6ac510986c 100644 --- a/services/web/app/src/Features/Authentication/AuthenticationManager.js +++ b/services/web/app/src/Features/Authentication/AuthenticationManager.js @@ -409,10 +409,6 @@ const AuthenticationManager = { if (!_exceedsMaximumLengthRatio(password, MAX_SIMILARITY, emailPart)) { const similarity = DiffHelper.stringSimilarity(password, emailPart) if (similarity > MAX_SIMILARITY) { - logger.warn( - { email, emailPart, similarity, maxSimilarity: MAX_SIMILARITY }, - 'Password too similar to email' - ) return new Error('password is too similar to email') } }