1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 05:00:10 +00:00

normalize lowercasing for cipher compared against lowercased input value (#17803)

This commit is contained in:
Jonathan Prusik
2025-12-03 15:12:12 -05:00
committed by Jonathan Prusik
parent 7093229526
commit c1ccdb5c91

View File

@@ -658,7 +658,7 @@ export default class NotificationBackground {
if (
username !== null &&
newPassword === null &&
cipher.login.username === normalizedUsername &&
cipher.login.username.toLowerCase() === normalizedUsername &&
cipher.login.password === currentPassword
) {
// Assumed to be a login