1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 18:53:20 +00:00

Display autofill overlay on potterybarn.com password field

This commit is contained in:
Jeffrey Holland
2025-09-15 18:55:12 +02:00
parent f20ed9f0e9
commit 3969a1e40d

View File

@@ -434,11 +434,9 @@ export class InlineMenuFieldQualificationService
return false;
}
// If the form has any visible username fields, we should treat the field as part of a login form
const visibleUsernameFields = usernameFieldsInPageDetails.filter(
(f) => f.form === field.form && f.viewable,
);
if (visibleUsernameFields.length > 0) {
// If the form has any username fields, we should treat the field as part of a login form
const usernameFields = usernameFieldsInPageDetails.filter((f) => f.form === field.form);
if (usernameFields.length > 0) {
return true;
}