mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 02:44:01 +00:00
normalize lowercasing for cipher compared against lowercased input value (#17803)
This commit is contained in:
committed by
jaasen-livefront
parent
8da3b2f121
commit
bef6306296
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user